diff --git a/source/assets/scripts/main.js b/source/assets/scripts/main.js index 710cb16..955da0a 100644 --- a/source/assets/scripts/main.js +++ b/source/assets/scripts/main.js @@ -44,9 +44,7 @@ function initFormHandler() { 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: "./"}); } catch (error) { console.error(`Registration failed with ${error}`); }