This commit is contained in:
hackrobot
2024-04-11 02:17:11 +08:00
parent cef574e3e6
commit 16a1dfc7f2

View File

@@ -75,8 +75,8 @@ const config = {
devServer: {
proxy: {
'/api/': {
// target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口
target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
target: JSON.parse('"http://localhost:28369"'), //本地调试端口
// target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
pathRewrite: {
'^/api/': '/'