Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
hnsd
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
liubinyu
hnsd
Commits
d9064a82
Commit
d9064a82
authored
May 06, 2021
by
liubinyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口地址
parent
1f003291
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
const.js
src/common/const.js
+1
-1
vue.config.js
vue.config.js
+2
-2
No files found.
src/common/const.js
View file @
d9064a82
// 常量
// const server_ip = '8.130.25.40'; // 测试服务器
// const server_ip = '22.57.64.22:8256'; // 线上内网ip
const
server_ip
=
'
39.105.38.125
:8256'
;
// 线上外网
const
server_ip
=
'
192.168.110.168
:8256'
;
// 线上外网
// const server_ip = '192.168.43.25:8258';
export
const
CONFIG
=
{
...
...
vue.config.js
View file @
d9064a82
...
...
@@ -8,12 +8,12 @@ module.exports = {
proxy
:
{
'^/plant/'
:
{
// target: 'http://8.130.25.40',
target
:
'http://
39.105.38.125
:8256'
,
target
:
'http://
192.168.110.168
:8256'
,
// target: 'http://192.168.43.122:8258',
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
'/plant/'
:
'/'
//
'/plant/' : '/'
}
}
}
...
...
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