fix: offline-content renamed to downloads

This commit is contained in:
gosangam
2026-07-14 16:51:17 +05:30
parent 12a5c15121
commit 1683abc2e9
6 changed files with 39 additions and 27 deletions
+1 -1
View File
@@ -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) =>