modify workbox path

This commit is contained in:
MaysWind
2021-02-28 21:33:25 +08:00
parent bdef9ab894
commit c74077fb13
3 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export default {
},
serviceWorker: {
path: self.$settings.isProduction() ? './sw.js' : undefined,
scope: '/',
scope: './',
}
}
}