aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.html
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-09 23:13:53 -0800
committerAdam Soltys <[email protected]>2022-11-09 23:13:53 -0800
commit8fc7c02108b8e0eac1a560de24cfbd3a2be29b20 (patch)
tree293baf045b3c41eb4bba4d09fcb016d7b4a26b88 /src/app.html
parent2722a895e9fd9e513869a25c29c5cac077ef260b (diff)
downloadcoinos-ui-8fc7c02108b8e0eac1a560de24cfbd3a2be29b20.tar.gz
coinos-ui-8fc7c02108b8e0eac1a560de24cfbd3a2be29b20.zip
mv service worker
Diffstat (limited to 'src/app.html')
-rw-r--r--src/app.html14
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>