We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ad3d4 commit 83af6b0Copy full SHA for 83af6b0
packages/web/src/index.html
@@ -29,7 +29,7 @@
29
if ("serviceWorker" in navigator) {
30
// Use the window load event to keep the page load performant
31
window.addEventListener("load", () => {
32
- navigator.serviceWorker.register("/service-worker.js");
+ navigator.serviceWorker.register('service-worker.js', {scope: './'});
33
});
34
}
35
</script>
0 commit comments