Changes to be committed:
	renamed:    manifest.json -> public/manifest.json
	renamed:    sw.js -> public/sw.js
This commit is contained in:
matthieu42morin 2023-03-07 01:35:02 +01:00
parent 05e05a4df4
commit 41dd8dcd37
2 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@
const CACHE = "pwabuilder-offline-page";
importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js');
importScripts('https://storage.googleapis.com/workbox-cdn/releases/5.1.4/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 = "offline.html";
self.addEventListener("message", (event) => {
if (event.data && event.data.type === "SKIP_WAITING") {