diff options
Diffstat (limited to 'src/app.html')
| -rw-r--r-- | src/app.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/app.html b/src/app.html index 0a2379a7..4a03a220 100644 --- a/src/app.html +++ b/src/app.html @@ -12,18 +12,4 @@ <body> <div>%sveltekit.body%</div> </body> - <script> - if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/service-worker.js').then( - function (registration) { - console.log('Service worker registration succeeded:', registration); - }, - function (error) { - console.log('Service worker registration failed:', error); - } - ); - } else { - console.log('Service workers are not supported.'); - } - </script> </html> |
