From c67b285c977315b54e5a64c76733a22f9ae3d79f Mon Sep 17 00:00:00 2001 From: stefan Date: Sat, 14 Mar 2026 20:31:18 +0100 Subject: [PATCH] Update Caddyfile template configuration and clean up unused frontend code --- config/docker/caddy/web-app/Caddyfile | 5 ++++- .../meldestelle-portal/src/jsMain/resources/index.html | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/docker/caddy/web-app/Caddyfile b/config/docker/caddy/web-app/Caddyfile index 26977670..d7e13f5e 100644 --- a/config/docker/caddy/web-app/Caddyfile +++ b/config/docker/caddy/web-app/Caddyfile @@ -18,7 +18,10 @@ } encode gzip zstd - templates + + templates { + mime text/html application/json + } handle /api/* { reverse_proxy api-gateway:8081 diff --git a/frontend/shells/meldestelle-portal/src/jsMain/resources/index.html b/frontend/shells/meldestelle-portal/src/jsMain/resources/index.html index 86bbe375..d5017e68 100644 --- a/frontend/shells/meldestelle-portal/src/jsMain/resources/index.html +++ b/frontend/shells/meldestelle-portal/src/jsMain/resources/index.html @@ -55,7 +55,6 @@ globalThis.KEYCLOAK_URL = 'http://localhost:8180'; } })(); - // KMP bundle liest globalThis.API_BASE_URL und globalThis.KEYCLOAK_URL in PlatformConfig.js