diff options
-rw-r--r--[-rwxr-xr-x] | index.html | 0 | ||||
-rw-r--r-- | sw.js | 10 |
2 files changed, 5 insertions, 5 deletions
diff --git a/index.html b/index.html index d8fa5e3..d8fa5e3 100755..100644 --- a/index.html +++ b/index.html @@ -40,11 +40,11 @@ self.addEventListener( 'install', async function () { assets.forEach( function ( asset ) { - cache.add( asset ).catch( function () { + cache.add( asset ).catch( function () { - console.error( '[SW] Cound\'t cache:', asset ); + console.error( '[SW] Cound\'t cache:', asset ); - } ); + } ); } ); @@ -63,8 +63,8 @@ async function cacheFirst( request ) { if ( cachedResponse === undefined ) { - console.error( '[SW] Not cached:', request.url ); - return fetch( request ); + console.error( '[SW] Not cached:', request.url ); + return fetch( request ); } |