- **feat(OnlineNennungFormular):** verbessere Anzeige der Versionsnummer mit hervorgehobener Formatierung.
All checks were successful
All checks were successful
- **chore(Caddy):** füge Cache-Buster für `meldestelle-web.js` hinzu.
This commit is contained in:
parent
07bd114df1
commit
6de5b55810
|
|
@ -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}' \
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user