diff options
Diffstat (limited to 'service-worker.js')
-rw-r--r-- | service-worker.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service-worker.js b/service-worker.js index eda0dfd..c4a9e95 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.1f270ddeceb206c582e0553b4960d28b.js" + "/react-benzin/precache-manifest.a8afba46bff3c14aff62a88b6fa3278a.js" ); self.addEventListener('message', (event) => { @@ -33,7 +33,7 @@ workbox.core.clientsClaim(); self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); -workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), { +workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/react-benzin/index.html"), { blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], }); |