fix: add vapid diagnostics

This commit is contained in:
2026-07-14 21:25:26 +02:00
parent 5198826f83
commit f783794b86
4 changed files with 158 additions and 16 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
// Served from / (not /static/) so its scope covers /admin/today/.
const CACHE = "osiris-v1";
// Bump on any change here or to the cached pages: activate() drops older caches,
// which is what stops a stale Today page surviving a deploy.
const CACHE = "osiris-v2";
self.addEventListener("install", (event) => {
self.skipWaiting();