mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(web): removal of service worker (#1088)
disable registration of service worker and remove service worker linting
This commit is contained in:
parent
a1a16adbab
commit
bdea9599d2
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ export default ({ mode }: ConfigEnv) => {
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
base: "",
|
base: "",
|
||||||
plugins: [react(), svgr(), VitePWA({
|
plugins: [react(), svgr(), VitePWA({
|
||||||
registerType: "autoUpdate",
|
injectRegister: null,
|
||||||
injectRegister: "inline",
|
selfDestroying: true,
|
||||||
scope: "{{.BaseUrl}}",
|
scope: "{{.BaseUrl}}",
|
||||||
// strategies: "injectManifest",
|
// strategies: "injectManifest",
|
||||||
useCredentials: true,
|
useCredentials: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue