From 7c96dfd3eac50fb06ef503f50142f12f31d1cb3b Mon Sep 17 00:00:00 2001 From: Wish <100239673+wish13yt@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:09:18 -0600 Subject: [PATCH] Update pwabuilder-sw.js --- js/pwabuilder-sw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pwabuilder-sw.js b/js/pwabuilder-sw.js index 403b958..ccff3b8 100644 --- a/js/pwabuilder-sw.js +++ b/js/pwabuilder-sw.js @@ -5,7 +5,7 @@ const CACHE = "pwabuilder-offline-page"; importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js'); // TODO: replace the following with the correct offline fallback page i.e.: const offlineFallbackPage = "offline.html"; -const offlineFallbackPage = "ToDo-replace-this-name.html"; +const offlineFallbackPage = "index.html"; self.addEventListener("message", (event) => { if (event.data && event.data.type === "SKIP_WAITING") { @@ -51,4 +51,4 @@ self.addEventListener('fetch', (event) => { } })()); } -}); \ No newline at end of file +});