ewgw
This commit is contained in:
@@ -75,15 +75,15 @@ const config = {
|
||||
devServer: {
|
||||
proxy: {
|
||||
'/api/': {
|
||||
target: JSON.parse('"http://localhost:28369"'), //本地调试端口
|
||||
// target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
|
||||
|
||||
// target: JSON.parse('"http://localhost:28369"'), //本地调试端口
|
||||
target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
|
||||
pathRewrite: {
|
||||
'^/api/': '/'
|
||||
},
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
},
|
||||
disableHostCheck: true
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user