From fc08c4336471c0f66e6492e284a845ac8a5d633d Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 6 Apr 2020 00:12:10 +0300 Subject: Updates --- service-worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service-worker.js') 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: [/^\/_/,/\/[^/?]+\.[^/]+$/], }); -- cgit v1.2.3