MVP #4.1
Changes to be committed: renamed: manifest.json -> public/manifest.json renamed: sw.js -> public/sw.js
This commit is contained in:
parent
05e05a4df4
commit
41dd8dcd37
|
@ -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") {
|
Loading…
Reference in New Issue