diff options
-rw-r--r-- | assets/serviceWorker/pwabuilder-sw-register.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/serviceWorker/pwabuilder-sw-register.js b/assets/serviceWorker/pwabuilder-sw-register.js index cd0acf3..c7c8617 100644 --- a/assets/serviceWorker/pwabuilder-sw-register.js +++ b/assets/serviceWorker/pwabuilder-sw-register.js @@ -9,7 +9,7 @@ if ("serviceWorker" in navigator) { } else {
// Register the service worker
navigator.serviceWorker
- .register("pwabuilder-sw.js", {
+ .register("assets/serviceWorker/pwabuilder-sw.js", {
scope: "./"
})
.then(function (reg) {
|