Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
e90640f8
Commit
e90640f8
authored
Mar 06, 2020
by
吴学德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改请求路径
parent
e0513539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/local.env.js
+2
-2
No files found.
config/local.env.js
View file @
e90640f8
...
@@ -12,14 +12,14 @@ const local = {
...
@@ -12,14 +12,14 @@ const local = {
'^/api/auth/ciop'
:
'/auth/ciop'
'^/api/auth/ciop'
:
'/auth/ciop'
}
}
},
},
'/api/
schoolcenter
'
:
{
'/api/
api/ciop
'
:
{
target
:
'http://localhost:11091'
,
target
:
'http://localhost:11091'
,
//target: 'http://132.97.54.60:58334',
//target: 'http://132.97.54.60:58334',
ws
:
false
,
ws
:
false
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
//默认所有请求都加了api前缀,需要去掉
//默认所有请求都加了api前缀,需要去掉
'^/api/
schoolcenter'
:
'/
'
'^/api/
api/ciop'
:
'/ciop
'
}
}
},
},
'/api/report'
:
{
'/api/report'
:
{
...
...
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