Akash Joshi 7 anni fa
parent
commit
559fa24014
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      server/offline/sw.js

+ 0 - 3
server/offline/sw.js

@@ -1,8 +1,5 @@
 // This is the "Offline copy of pages" service worker
 
-// Install stage sets up the index page (home page) in the cache and opens a new cache
-const { self } = window;
-
 self.addEventListener('install', event => {
   const indexPage = new Request('index.html');
   event.waitUntil(