Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
ReactWeb5
CivWeb
Commits
70b8b1d6
Commit
70b8b1d6
authored
Mar 27, 2022
by
lihonglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 代理ulr
parent
b7d9974a
Pipeline
#46720
passed with stages
in 2 minutes 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
proxy.js
config/proxy.js
+11
-1
No files found.
config/proxy.js
View file @
70b8b1d6
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
// const proxyURL = 'https://work.panda-water.cn';
const
proxyURL
=
'http://192.168.12.47:808
1
'
;
const
proxyURL
=
'http://192.168.12.47:808
2
'
;
module
.
exports
=
{
...
...
@@ -186,6 +186,16 @@ module.exports = {
'/cityjson'
:
'/cityjson'
,
},
},
'/Panda_GIS'
:
{
target
:
'http://192.168.12.47:8081'
,
changeOrigin
:
true
,
headers
:
{
'Access-Control-Allow-Origin'
:
'*'
,
},
pathRewrite
:
{
'/Panda_GIS'
:
'/Panda_GIS'
,
},
},
'/Publish'
:
{
target
:
'https://panda-water.cn'
,
changeOrigin
:
true
,
...
...
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