200619235729

This commit is contained in:
thuhole
2020-06-19 15:57:31 +00:00
parent 525be8321d
commit 51272cf2f3
11 changed files with 42 additions and 42 deletions

View File

@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"//cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/precache-manifest.3d3a75d001d12ff90b13b1297d07a85b.js"
"./precache-manifest.21ee4d0bc9764302ddc99b9a5753ac05.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("//cdn.jsdelivr.net/gh/thuhole/webhole@gh-pages/index.html"), {
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("./index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});