aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]index.html0
-rw-r--r--sw.js10
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
diff --git a/sw.js b/sw.js
index 240225c..bcf25d0 100644
--- a/sw.js
+++ b/sw.js
@@ -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 );
}