Akash Joshi hace 7 años
padre
commit
e900c3798e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      server/offline/sw.js

+ 2 - 0
server/offline/sw.js

@@ -1,5 +1,7 @@
 // This is the "Offline copy of pages" service worker
 
+const {self} = WorkerGlobalScope;
+
 self.addEventListener('install', event => {
   const indexPage = new Request('index.html');
   event.waitUntil(