fix static assets loading for apps raw

This commit is contained in:
Ruben Fiszel
2025-12-25 16:29:49 +00:00
parent 32826332fb
commit 3ee7d27a1e

View File

@@ -52,7 +52,7 @@ const TWO_HUNDRED: &str = "200.html";
/// Only enabled for /apps_raw paths (raw app editor)
#[cfg(feature = "static_frontend")]
fn needs_cross_origin_isolation(original_path: &str) -> bool {
original_path.starts_with("/apps_raw/")
original_path.starts_with("/apps_raw/") || original_path.starts_with("/ui_builder/")
}
fn serve_path(path: &str, original_path: &str) -> Response<Body> {