This commit is contained in:
hackrobot
2024-04-11 00:52:44 +08:00
parent 9ad06c5adb
commit 6b4bf3fdc1

View File

@@ -75,7 +75,9 @@ const config = {
devServer: { devServer: {
proxy: { proxy: {
'/api/': { '/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: { pathRewrite: {
'^/api/': '/' '^/api/': '/'
}, },