forked from mystiq/hydrogen-web
no service worker for local dev still
This commit is contained in:
parent
a94b099819
commit
2fa39c51f2
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script id="service-worker" type="module">
|
<script id="service-worker" type="disabled">
|
||||||
if('serviceWorker' in navigator) {
|
if('serviceWorker' in navigator) {
|
||||||
navigator.serviceWorker.register('sw.js').then(function(registration) {
|
navigator.serviceWorker.register('sw.js').then(function(registration) {
|
||||||
console.log("Service Worker registered");
|
console.log("Service Worker registered");
|
||||||
|
|
Loading…
Reference in a new issue