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