diff --git a/src/service-worker.ts b/src/service-worker.ts index 06fe0fba06..a4e40b6b88 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -17,7 +17,7 @@ const ASSETS = [ ...build, // the app itself ...files // everything in `static` ].filter(file => !EXCEPTIONS.some(e => file.startsWith(e))); -console.log(ASSETS); + const sw = self as unknown as ServiceWorkerGlobalScope; sw.addEventListener('install', (event) => {