From 075ef0c6213585094266cceaaac6a281afa1099e Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Nov 2024 23:33:51 +0200 Subject: proper comment out --- src/index.html | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/index.html b/src/index.html index 5b9f795..3541763 100644 --- a/src/index.html +++ b/src/index.html @@ -266,17 +266,19 @@ - if ('serviceWorker' in navigator) { - window.addEventListener("load", () => { - navigator.serviceWorker.register('./sw.js') - .then(registration => { - console.log(registration); - }) - .catch(console.error); - }); - } - - --> +