diff options
Diffstat (limited to 'sw.js')
-rw-r--r-- | sw.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ self.addEventListener('install', async function () { const cache = await caches.open('Orca') assets.forEach(function (asset) { cache.add(asset).catch(function () { - console.error('serviceWorker','Cound not cache:', asset) + console.error('serviceWorker', 'Cound not cache:', asset) }) }) }) @@ -43,7 +43,7 @@ self.addEventListener('fetch', async function (event) { async function cacheFirst (request) { const cachedResponse = await caches.match(request) if (cachedResponse === undefined) { - console.error('serviceWorker','Not cached:', request.url) + console.error('serviceWorker', 'Not cached:', request.url) return fetch(request) } return cachedResponse |