Upgrade service worker cache
This commit is contained in:
parent
d07ae4ebf6
commit
3e9c2dc746
@ -41,7 +41,7 @@ class MyServiceWorker {
|
|||||||
currentCSP: string
|
currentCSP: string
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.cache = new MyCache("v-3")
|
this.cache = new MyCache("v-4")
|
||||||
this.currentCSP = ""
|
this.currentCSP = ""
|
||||||
|
|
||||||
self.addEventListener("install", (evt: InstallEvent) => evt.waitUntil(this.onInstall(evt)))
|
self.addEventListener("install", (evt: InstallEvent) => evt.waitUntil(this.onInstall(evt)))
|
||||||
|
Loading…
Reference in New Issue
Block a user