config: production confg fix
parent
43415c908d
commit
96f9bef27a
@ -1,6 +1,6 @@
|
||||
NODE_PATH=src
|
||||
REACT_APP_MODE=production
|
||||
REACT_APP_VERSION = v0.0.1
|
||||
#REACT_APP_API_URL=http://211.119.124.9:8090
|
||||
#REACT_APP_API_URL=http://211.119.124.107:8090
|
||||
REACT_APP_API_URL=http://localhost:8090
|
||||
REACT_APP_SERVER_TIMEOUT=6000
|
@ -1,10 +0,0 @@
|
||||
const { createProxyMiddleware } = require('http-proxy-middleware');
|
||||
|
||||
module.exports = function (app) {
|
||||
app.use(
|
||||
createProxyMiddleware('/api/v2', {
|
||||
target: 'http://localhost:8090',
|
||||
changeOrigin: true
|
||||
})
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue