We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e231d commit d910d3aCopy full SHA for d910d3a
src/simulator.ts
@@ -20,7 +20,7 @@ function initServiceWorker() {
20
window.addEventListener("load", () => {
21
navigator.serviceWorker
22
// TODO: base url is required here. Hardcode for testing purposes.
23
- .register("service-worker/sw.js", { scope: "/service-worker/" })
+ .register("/service-worker/sw.js", { scope: "/service-worker/" })
24
.then(
25
function (_registration) {
26
console.log("Simulator ServiceWorker registration successful");
0 commit comments