Akash Joshi %!s(int64=7) %!d(string=hai) anos
pai
achega
e900c3798e
Modificáronse 1 ficheiros con 2 adicións e 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(