mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
no service worker for local dev still
This commit is contained in:
parent
a94b099819
commit
2fa39c51f2
@ -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 New Issue
Block a user