up

parent 4c4bf958
This diff is collapsed.
...@@ -2,12 +2,12 @@ const { createProxyMiddleware } = require('http-proxy-middleware'); ...@@ -2,12 +2,12 @@ const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function (app) { module.exports = function (app) {
app.use(createProxyMiddleware('/api', app.use(createProxyMiddleware('/api',
{ {
"target":'http://15.161.127.241:30001', // "target":'http://15.161.127.241:30001',
// "target": "http://54.168.125.67:26657", // "target": "http://54.168.125.67:26657",
// "target": "http://3.9.177.160:50080", // "target": "http://3.9.177.160:50080",
// "target":'http://52.221.177.10:30181', "target":'http://52.221.177.10:30181',
"changeOrigin": true, "changeOrigin": true,
"pathRewrite": { "pathRewrite": {
"^/api": "/" "^/api": "/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment