no service worker for local dev still

This commit is contained in:
Bruno Windels 2020-10-15 16:19:15 +02:00
parent a94b099819
commit 2fa39c51f2

View File

@ -29,7 +29,7 @@
}
});
</script>
<script id="service-worker" type="module">
<script id="service-worker" type="disabled">
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js').then(function(registration) {
console.log("Service Worker registered");