From 40fc49086bcb48996de1b6a4317756f122b62c1f Mon Sep 17 00:00:00 2001 From: Brian Daley Date: Tue, 24 Sep 2024 15:53:33 -0400 Subject: [PATCH] fixes --- index.html | 9 ++++----- sw.js | 3 ++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 29a8af6..1ef4966 100644 --- a/index.html +++ b/index.html @@ -11,12 +11,11 @@ - + + + + diff --git a/sw.js b/sw.js index 334ea24..9195f20 100644 --- a/sw.js +++ b/sw.js @@ -1,6 +1,7 @@ // Name of our cache const cacheName = 'offline-pwa-gallery-v1'; +// URLs to cache for offline mode const urlsToCache = [ ]; @@ -17,7 +18,7 @@ self.addEventListener('install', (event) => { // Intercept fetch requests to serve cached assets self.addEventListener('fetch', (event) => { if(event.request.url.match(/^https:\/\//)){ - console.log('Browser is requesting', event.request.url); + console.log('Browser is requesting:', event.request.url); } event.respondWith( caches.match(event.request).then((cachedResponse) => {