mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(web/pwa): do not intercept api route (#952)
* fix(PWA): Don't intercept /api route * remove proxy * revert proxy * actual revert * Delete setupProxy.js
This commit is contained in:
parent
6c27c6e3ba
commit
76387d16f6
2 changed files with 3 additions and 13 deletions
|
@ -66,7 +66,8 @@ export default ({ mode }: { mode: any }) => {
|
|||
},
|
||||
workbox: {
|
||||
globPatterns: ["**/*.{js,css,html,svg}"],
|
||||
sourcemap: true
|
||||
sourcemap: true,
|
||||
navigateFallbackDenylist: [/^\/api/]
|
||||
}
|
||||
})],
|
||||
resolve: {
|
||||
|
@ -101,4 +102,4 @@ export default ({ mode }: { mode: any }) => {
|
|||
sourcemap: true
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue