diff --git a/packages/web/src/index.html b/packages/web/src/index.html
index 4e8473b5..7928be13 100644
--- a/packages/web/src/index.html
+++ b/packages/web/src/index.html
@@ -29,7 +29,7 @@
if ("serviceWorker" in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener("load", () => {
- navigator.serviceWorker.register("/service-worker.js");
+ navigator.serviceWorker.register('service-worker.js', {scope: './'});
});
}