fix(web-app): Caddy templates für text/html + SW-Bypass für config.json
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 7m0s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 7m1s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 2m0s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m50s
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 7m0s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 7m1s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 2m0s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m50s
Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
# Komprimierung
|
||||
encode gzip zstd
|
||||
|
||||
# Caddy-Template-Engine für config.json (liefert API_BASE_URL & KEYCLOAK_URL an den Browser)
|
||||
# Caddy-Template-Engine: ersetzt {{.Env.VAR}} in index.html UND config.json
|
||||
templates {
|
||||
mime application/json
|
||||
}
|
||||
mime text/html application/json
|
||||
}
|
||||
|
||||
# API-Proxy (höchste Priorität – vor dem SPA-Fallback)
|
||||
handle /api/* {
|
||||
|
||||
Reference in New Issue
Block a user