mirror of https://github.com/Leinnan/rpack.git
Test- disable web service worker
This commit is contained in:
parent
c671f408a0
commit
ce0c1de158
|
|
@ -134,7 +134,7 @@
|
||||||
|
|
||||||
<!--Register Service Worker. this will cache the wasm / js scripts for offline use (for PWA functionality). -->
|
<!--Register Service Worker. this will cache the wasm / js scripts for offline use (for PWA functionality). -->
|
||||||
<!-- Force refresh (Ctrl + F5) to load the latest files instead of cached files -->
|
<!-- Force refresh (Ctrl + F5) to load the latest files instead of cached files -->
|
||||||
<script>
|
<!--<script>
|
||||||
// We disable caching during development so that we always view the latest version.
|
// We disable caching during development so that we always view the latest version.
|
||||||
if (
|
if (
|
||||||
"serviceWorker" in navigator &&
|
"serviceWorker" in navigator &&
|
||||||
|
|
@ -144,7 +144,7 @@
|
||||||
navigator.serviceWorker.register("sw.js");
|
navigator.serviceWorker.register("sw.js");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue