This commit is contained in:
2020-03-26 02:24:36 +05:30
parent f5bd815d8c
commit b359aaf7fc
10 changed files with 53 additions and 53 deletions

View File

@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js"
"/adobeassignment/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.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("/adobeassignment/index.html"), {
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});