diff --git a/admin-web/config/server/config/proxy.prod.config.js b/admin-web/config/server/config/proxy.prod.config.js index 2c162767a..a3ce7f6f4 100644 --- a/admin-web/config/server/config/proxy.prod.config.js +++ b/admin-web/config/server/config/proxy.prod.config.js @@ -1,11 +1,9 @@ module.exports = { - '/admin-api/': { - target: 'http://180.167.213.26:18083/', + '/admin-api -> http://180.167.213.26:18083/': { changeOrigin: true, pathRewrite: {}, }, - '/server/api/': { - target: 'https://preview.pro.ant.design/', + '/server/api -> https://preview.pro.ant.design/': { changeOrigin: true, pathRewrite: { '^/server': '' }, },