Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
ldp-docs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
doc
ldp-docs
Commits
e6376205
Commit
e6376205
authored
Dec 28, 2020
by
祁新
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改前端脚手架联调配置说明
parent
243772d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
LDP前端脚手架工程联调配置说明.md
开发文档/LDP前端脚手架工程联调配置说明.md
+4
-4
No files found.
开发文档/LDP前端脚手架工程联调配置说明.md
View file @
e6376205
...
@@ -74,19 +74,19 @@ proxy: {
...
@@ -74,19 +74,19 @@ proxy: {
* 优先级高的匹配需要定义在前面。
* 优先级高的匹配需要定义在前面。
*/
*/
// 第一种默认请求方式的代理转发
// 第一种默认请求方式的代理转发
proxyLocalPath
:
{
[
proxyLocalPath
]
:
{
target
:
proxyLocalServer
,
target
:
proxyLocalServer
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^'
+
proxyLocalPath
:
rewriteTargetPath
[
'^'
+
proxyLocalPath
]
:
rewriteTargetPath
}
}
},
},
// 第二种用其他请求方式的代理转发
// 第二种用其他请求方式的代理转发
proxyLocalSecond
:
{
[
proxyLocalSecond
]
:
{
target
:
proxyLocalServer
,
target
:
proxyLocalServer
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^'
+
proxyLocalSecond
:
rewriteTargetPath
[
'^'
+
proxyLocalSecond
]
:
rewriteTargetPath
}
}
},
},
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment