aboutsummaryrefslogtreecommitdiffhomepage
path: root/sw.js
diff options
context:
space:
mode:
Diffstat (limited to 'sw.js')
-rw-r--r--sw.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw.js b/sw.js
index e909eb7..7973ce6 100644
--- a/sw.js
+++ b/sw.js
@@ -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