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 +});