From ca80005596cca314a04ba224f9b683ca74eba698 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 4 Dec 2026 06:03:17 +0100 Subject: [PATCH] fix: serve /api/ee_license with the public-app cors layer (#12836) Co-authored-by: Claude Opus 5.5 --- backend/windmill-api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/lib.rs b/backend/windmill-api/src/lib.rs index da8d57bb84..81b5c70982 100644 --- a/backend/windmill-api/src/lib.rs +++ b/backend/windmill-api/src/lib.rs @@ -1219,7 +1219,7 @@ pub async fn run_server( .nest("/health/status", health::status_service()) .route("/min_keep_alive_version", get(min_keep_alive_version)) .route("/uptodate", get(is_up_to_date)) - .route("/ee_license", get(ee_license)) + .route("/ee_license", get(ee_license).layer(cors.clone())) .route("/openapi.yaml", get(openapi)) .route("/openapi.json", get(openapi_json)), )