diff --git a/serviceWorker1/manifoldjs-sw.js b/serviceWorker1/manifoldjs-sw.js index 607608e..02b2ba1 100644 --- a/serviceWorker1/manifoldjs-sw.js +++ b/serviceWorker1/manifoldjs-sw.js @@ -1,6 +1,6 @@ //This is the "Offline page" service worker -//Install stage sets up the offline page in the cahche and opens a new cache +//Install stage sets up the offline page in the cache and opens a new cache self.addEventListener('install', function(event) { var offlinePage = new Request('offline.html'); event.waitUntil( @@ -30,4 +30,4 @@ self.addEventListener('refreshOffline', function(response) { console.log('[Manifoldjs] Offline page updated from refreshOffline event: '+ response.url); return cache.put(offlinePage, response); }); -}); \ No newline at end of file +});