Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fwespi committed Oct 25, 2023
1 parent d19cd3f commit 8713dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let wasm;
const registerServiceWorker = async () => {
if("serviceWorker" in navigator){
try {
const registration = await navigator.serviceWorker.register("/sw.js", {scope: "/"});
const registration = await navigator.serviceWorker.register("./sw.js", {scope: "./"});
if(registration.installing){
console.log("Service worker installing");
} else if(registration.waiting){
Expand Down

0 comments on commit 8713dc8

Please sign in to comment.