From 3ee7d27a1ec2ee9f3fb474288f1ec60bf9fc71c6 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 25 Dec 2025 16:29:49 +0000 Subject: [PATCH] fix static assets loading for apps raw --- backend/windmill-api/src/static_assets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/static_assets.rs b/backend/windmill-api/src/static_assets.rs index f3095bbac7..2b93d59bc0 100644 --- a/backend/windmill-api/src/static_assets.rs +++ b/backend/windmill-api/src/static_assets.rs @@ -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 {