diff options
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 24 |
1 files 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 @@ <script src="./js/utils.js"></script> <script src="./js/app.js"></script> </body> - if ('serviceWorker' in navigator) { - window.addEventListener("load", () => { - navigator.serviceWorker.register('./sw.js') - .then(registration => { - console.log(registration); - }) - .catch(console.error); - }); - } - </script> - --> + <!-- + <script> + if ('serviceWorker' in navigator) { + window.addEventListener("load", () => { + navigator.serviceWorker.register('./sw.js') + .then(registration => { + console.log(registration); + }) + .catch(console.error); + }); + } + </script> + --> </html> <!-- vim: tabstop=4 shiftwidth=4 expandtab softtabstop=4 |