Commit e6376205 authored by 祁新's avatar 祁新

fix: 修改前端脚手架联调配置说明

parent 243772d0
......@@ -74,19 +74,19 @@ proxy: {
* 优先级高的匹配需要定义在前面。
*/
// 第一种默认请求方式的代理转发
proxyLocalPath: {
[proxyLocalPath]: {
target: proxyLocalServer,
changeOrigin: true,
pathRewrite: {
'^' + proxyLocalPath: rewriteTargetPath
['^' + proxyLocalPath]: rewriteTargetPath
}
},
// 第二种用其他请求方式的代理转发
proxyLocalSecond: {
[proxyLocalSecond]: {
target: proxyLocalServer,
changeOrigin: true,
pathRewrite: {
'^' + proxyLocalSecond: rewriteTargetPath
['^' + proxyLocalSecond]: rewriteTargetPath
}
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment