visual continunity

This commit is contained in:
Bradley Nelson
2026-06-17 22:07:18 -06:00
parent daa3010458
commit 89e14f8f9e
89 changed files with 19249 additions and 1367 deletions
+6 -6
View File
@@ -40,15 +40,15 @@ fn main() {
println!("cargo:rerun-if-changed=static");
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rerun-if-env-changed=OXICLOUD_LEGACY_ASSETS");
println!("cargo:rerun-if-env-changed=OXICLOUD_RUST_ASSETS");
git_status();
// Post-cutover (Svelte/Vite): the frontend is built by Vite into
// `static-dist/` and the Rust web layer serves it directly — no `include_str!`
// HTML, no Rust-side bundling. The legacy pure-Rust asset pipeline below is
// retained, behind `OXICLOUD_LEGACY_ASSETS=1`, for one-release rollback only.
if env_or("OXICLOUD_LEGACY_ASSETS", "0") != "1" {
// The frontend is built by Vite into `static-dist/` and the Rust web layer
// serves it directly — no `include_str!` HTML, no Rust-side bundling. The
// pure-Rust asset pipeline below is retained, behind `OXICLOUD_RUST_ASSETS=1`,
// for one-release rollback only.
if env_or("OXICLOUD_RUST_ASSETS", "0") != "1" {
return;
}