200622193411

This commit is contained in:
thuhole
2020-06-22 11:34:12 +00:00
parent afa966f81e
commit cb7f113808
81 changed files with 45 additions and 311 deletions

View File

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