소스 검색

Update sw.js

Akash Joshi 7 년 전
부모
커밋
559fa24014
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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(