Skip to content

Commit

Permalink
πŸ”§ Service worker μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
abcxj123 committed Jul 9, 2024
1 parent b5bd75a commit ba3dd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Register a service worker hosted at the root of the
// site using the default scope.
navigator.serviceWorker
.register("/sw.js")
.register("./sw.js")
.then((registration) => {
console.log("Service worker registration succeeded:", registration);
})
Expand Down

0 comments on commit ba3dd7b

Please sign in to comment.