- **feat(OnlineNennungFormular):** verbessere Anzeige der Versionsnummer mit hervorgehobener Formatierung.
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 5m58s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 4m21s

- **chore(Caddy):** füge Cache-Buster für `meldestelle-web.js` hinzu.
This commit is contained in:
Stefan Mogeritsch 2026-04-23 06:36:24 +02:00
parent 07bd114df1
commit 6de5b55810
2 changed files with 9 additions and 5 deletions

View File

@ -3,8 +3,11 @@ set -e
# Ersetze ${API_BASE_URL}, ${MAIL_SERVICE_URL} und ${KEYCLOAK_URL} in index.html und config.json zur Container-Startzeit.
# Caddy bekommt fertige, statische Dateien — kein Template-Parsing mehr nötig.
# Wir fügen zusätzlich einen Cache-Buster (Zeitstempel) an den Script-Tag in der index.html an
CACHE_BUSTER=$(date +%s)
envsubst '${API_BASE_URL} ${MAIL_SERVICE_URL} ${KEYCLOAK_URL}' \
< /usr/share/caddy/index.html.tmpl \
< /usr/share/caddy/index.html.tmpl | \
sed "s|meldestelle-web.js|meldestelle-web.js?v=${CACHE_BUSTER}|g" \
> /usr/share/caddy/index.html
envsubst '${API_BASE_URL} ${MAIL_SERVICE_URL} ${KEYCLOAK_URL}' \

View File

@ -222,10 +222,11 @@ fun OnlineNennungFormular(
modifier = Modifier.padding(bottom = 4.dp)
)
Text(
text = "v2026-04-23.4", // Eindeutige Version für diesen Fix
style = MaterialTheme.typography.labelSmall,
color = Color.LightGray,
modifier = Modifier.padding(bottom = 4.dp)
text = "v2026-04-23.5 - RADICAL RELOAD", // Eindeutige Version für diesen Fix
style = MaterialTheme.typography.labelLarge,
fontWeight = FontWeight.Bold,
color = Color.Red,
modifier = Modifier.padding(bottom = 4.dp).background(Color.Yellow.copy(alpha = 0.3f))
)
}