diff --git a/game/game.js b/game/game.js index 4b1d89e6c..cfb62e7c3 100644 --- a/game/game.js +++ b/game/game.js @@ -181,7 +181,6 @@ new Promise(resolve => { let findServiceWorker = registrations.find(registration => { return registration && registration.active && registration.active.scriptURL == `${scope}service-worker.js`; }); - console.log(registrations); try { const registration_1 = await navigator.serviceWorker.register(`${scope}service-worker.js`, { updateViaCache: "all", diff --git a/service-worker.js b/service-worker.js index b7ca69245..a2e99b2bf 100644 --- a/service-worker.js +++ b/service-worker.js @@ -5,12 +5,12 @@ var ts; importScripts('./game/typescript.js'); // @ts-ignore if (typeof ts != 'undefined') { - console.log(ts); + console.log(`ts loaded`); } else { console.log(`ts undefined`); } -console.log('version 2.2'); +console.log('serviceWorker version 2.2'); self.addEventListener("install", (event) => { // The promise that skipWaiting() returns can be safely ignored.