Akash Joshi před 7 roky
rodič
revize
559fa24014
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  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(