This commit is contained in:
2020-03-26 04:08:53 +05:30
parent abee566731
commit f4488e3acf
8 changed files with 87 additions and 87 deletions

View File

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