fix: offline-content renamed to downloads
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ const PAGES_CACHE = `offline-pages-${CACHE_VERSION}`; // saved page HTML documen
|
||||
const ASSETS_CACHE = `offline-assets-${CACHE_VERSION}`; // /_next/* + static files
|
||||
const OFFLINE_CACHES = [PAGES_CACHE, ASSETS_CACHE];
|
||||
// The library page doubles as the navigation fallback when offline.
|
||||
const OFFLINE_FALLBACK = "/offline-content";
|
||||
const OFFLINE_FALLBACK = "/downloads";
|
||||
|
||||
self.addEventListener("install", () => self.skipWaiting());
|
||||
self.addEventListener("activate", (event) =>
|
||||
|
||||
Reference in New Issue
Block a user