fix: index.html nicht cachen + unaufgelöste ⟦PHn:wort⟧-Tokens defensiv anzeigen

- nginx: Cache-Control no-cache für index.html — Browser hingen sonst auf
  alten JS-Bundles (gehashte Assets bleiben immutable gecacht)
- Karten: Pipeline-Tokens ⟦PHn:wort⟧ aus der Übersetzung werden als blankes
  Wort gerendert/gesprochen statt roh angezeigt (Datenfix gehört ins Backend)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 21:58:28 +02:00
parent acfd57ee87
commit 8154f08e04
4 changed files with 11 additions and 2 deletions

View File

@@ -4,9 +4,10 @@ server {
root /usr/share/nginx/html;
index index.html;
# SPA fallback
# SPA fallback — index.html nie cachen, sonst hängen Browser auf alten Bundles
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache";
}
# Cache static assets