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
|
@ -1,11 +0,0 @@
|
|||
const { createProxyMiddleware } = require("http-proxy-middleware");
|
||||
|
||||
module.exports = function(app) {
|
||||
app.use(
|
||||
"/api",
|
||||
createProxyMiddleware({
|
||||
target: "http://127.0.0.1:7474",
|
||||
changeOrigin: true,
|
||||
})
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue