fix: add vapid diagnostics
This commit is contained in:
+3
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user