diff --git a/config/index.js b/config/index.js index 67295dc..bb6f3fe 100644 --- a/config/index.js +++ b/config/index.js @@ -75,7 +75,9 @@ const config = { devServer: { proxy: { '/api/': { - target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口 + // target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口 + target: JSON.parse('"https://kunpeng.hackrobot.cn"'), + pathRewrite: { '^/api/': '/' },