fix: serve /api/ee_license with the public-app cors layer (#12836)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-12-04 06:03:17 +01:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 9eda2e1c0c
commit ca80005596
+1 -1
View File
@@ -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)),
)