Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
548be0c9
Commit
548be0c9
authored
Apr 16, 2019
by
164003836@qq.con
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改为指向测试环境的路由
parent
4997b883
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.js
config/index.js
+3
-3
No files found.
config/index.js
View file @
548be0c9
...
@@ -31,19 +31,19 @@ module.exports = {
...
@@ -31,19 +31,19 @@ module.exports = {
assetsPublicPath
:
'/'
,
assetsPublicPath
:
'/'
,
proxyTable
:
{
proxyTable
:
{
'/jwt'
:
{
'/jwt'
:
{
target
:
'http://10.5.52.
2
:8765'
,
target
:
'http://10.5.52.
3
:8765'
,
pathRewrite
:
{
pathRewrite
:
{
'^/jwt'
:
'/jwt'
'^/jwt'
:
'/jwt'
},
},
},
},
'/api'
:{
'/api'
:{
target
:
'http://10.5.52.
2
:8765'
,
target
:
'http://10.5.52.
3
:8765'
,
pathRewrite
:
{
pathRewrite
:
{
'^/api'
:
'/api'
'^/api'
:
'/api'
},
},
},
},
'/vehicle'
:
{
'/vehicle'
:
{
target
:
'http://10.5.52.
2
:8765'
target
:
'http://10.5.52.
3
:8765'
},
},
},
},
// CSS Sourcemaps off by default because relative paths are "buggy"
// CSS Sourcemaps off by default because relative paths are "buggy"
...
...
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