mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49:13 +00:00

* fix(tsconfig.json): changed skipLibCheck to false. refactor(eslint): moved configuration from package.json to .eslintrc.js and added a typescript plugin for future use * feat: wip eslint and types * feat: fix identation * feat: get rid of last any types
11 lines
No EOL
232 B
JavaScript
11 lines
No EOL
232 B
JavaScript
const { createProxyMiddleware } = require("http-proxy-middleware");
|
|
|
|
module.exports = function(app) {
|
|
app.use(
|
|
"/api",
|
|
createProxyMiddleware({
|
|
target: "http://127.0.0.1:7474",
|
|
changeOrigin: true,
|
|
})
|
|
);
|
|
}; |