This commit is contained in:
mertJF
2021-04-08 09:41:23 +03:00
parent 2ffc0f0f4b
commit d35c38eca9
10 changed files with 48 additions and 48 deletions

View File

@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/tailblocks/precache-manifest.09c906fc15061e5d085eb0636efae674.js"
"/tailblocks.cc/precache-manifest.70986f102546211364a5f03fad606058.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("/tailblocks/index.html"), {
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/tailblocks.cc/index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});