mirror of
https://github.com/alextselegidis/plainpad.git
synced 2024-09-17 13:47:15 +03:00
Remove deprecated proxy setup file
This commit is contained in:
parent
9511d4b054
commit
a037a6d035
@ -1,11 +0,0 @@
|
||||
const createProxyMiddleware = require('http-proxy-middleware');
|
||||
|
||||
module.exports = function(app) {
|
||||
app.use(
|
||||
process.env.REACT_APP_BASE_URL, // You can pass in an array too eg. ['/api', '/another/path']
|
||||
createProxyMiddleware({
|
||||
target: process.env.REACT_APP_PROXY_HOST,
|
||||
changeOrigin: true,
|
||||
})
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user