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({
|
||||
base: "",
|
||||
plugins: [react(), svgr(), VitePWA({
|
||||
registerType: "autoUpdate",
|
||||
injectRegister: "inline",
|
||||
injectRegister: null,
|
||||
selfDestroying: true,
|
||||
scope: "{{.BaseUrl}}",
|
||||
// strategies: "injectManifest",
|
||||
useCredentials: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue