Upgrade service worker cache

This commit is contained in:
Eduard Urbach 2017-11-09 18:37:13 +01:00
parent d07ae4ebf6
commit 3e9c2dc746

View File

@ -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)))