This commit is contained in:
hackrobot
2024-10-04 19:23:07 +08:00
parent 9d43610fe1
commit b1b0c4eda9
5 changed files with 7 additions and 7 deletions

View File

@@ -85,10 +85,10 @@ const config = {
// host: 'nomad.hackrobot.cn', // 替换为您的域名
// port: 10087, // 选择一个适当的端口号
proxy: {
'${TARO_APP_API}/': {
'api': {
target: JSON.parse('"http://localhost:8700"'), //本地调试端口
pathRewrite: {
'^${TARO_APP_API}/': '/'
'api/': '/'
},
changeOrigin: true
}