'ss'
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user