fix(version): Tab-Titel + Impressum dynamisch aus version.js

Vorher waren "Calendarr v18" in index.html hardcoded und wurden bei
Releases nie mit gebumpt — v19/v20 wurden zwar in version.js gepflegt,
landeten aber nie im Tab-Titel. Jetzt liest calendar.js APP_VERSION
direkt aus version.js und setzt sowohl document.title als auch das
Impressum-Footer-Label, damit das nicht mehr auseinanderlaufen kann.

v21 / sw cache v21
This commit is contained in:
Scarriffle
2026-05-19 10:12:32 +02:00
parent 43575f9042
commit f102f02cb9
4 changed files with 14 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
// the entry HTML / version files). New releases take effect on the next
// reload, no manual SW unregister required.
const CACHE_VERSION = 'calendarr-v20';
const CACHE_VERSION = 'calendarr-v21';
const OFFLINE_SHELL = ['/', '/index.html'];
self.addEventListener('install', event => {