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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user