mirror of
https://github.com/mertJF/tailblocks.git
synced 2025-12-10 01:35:34 +00:00
Updates
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||
|
||||
importScripts(
|
||||
"/precache-manifest.b20a27368ab46ffb476296820406db23.js"
|
||||
"/tailblocks/precache-manifest.09c906fc15061e5d085eb0636efae674.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("/tailblocks/index.html"), {
|
||||
|
||||
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user