Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
deploy: af65df3
Browse files Browse the repository at this point in the history
  • Loading branch information
Manshawar committed Dec 17, 2024
1 parent fb88494 commit bd61b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if ("serviceWorker" in window.navigator) {
if ("serviceWorker" in navigator) {
try {
const registration = await navigator.serviceWorker.register("/Manshawar-blog/sw/index.js", {
scope: "/sw/",
scope: "/Manshawar-blog/sw/",
});
console.log(registration, "注册");
if (registration.installing) {
Expand Down

0 comments on commit bd61b49

Please sign in to comment.