Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
f9e32210
Commit
f9e32210
authored
Sep 07, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改配置
parent
24bc2138
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/setting.js
+2
-2
vue.config.js
+2
-2
No files found.
src/setting.js
View file @
f9e32210
/*
* @Author: your name
* @Date: 2021-06-20 11:48:40
* @LastEditTime: 2021-0
8-30 18:36:43
* @LastEditTime: 2021-0
9-07 16:28:01
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \control_platform\src\settings.js
...
...
@@ -22,5 +22,5 @@ module.exports = {
// 湖南可视化
BaseURL3
:
"/hnapi"
,
// 打包方式阿里云(aly) 和 公安网(gaw)
packType
:
'
gaw
'
packType
:
'
aly
'
}
vue.config.js
View file @
f9e32210
/*
* @Author: your name
* @Date: 2021-07-05 17:04:26
* @LastEditTime: 2021-0
8-27 12:16:2
5
* @LastEditTime: 2021-0
9-07 16:24:5
5
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\vue.config.js
...
...
@@ -56,7 +56,7 @@ module.exports = {
proxy
:
{
"/api"
:
{
// target: "http://26.120.5.129:8007/", //公安网
target
:
setting
.
packType
==
'aly'
?
"http://39.99.155.173:8501/"
:
"http://
26.120.5.129:8007
/"
,
//阿里云 and 公安网
target
:
setting
.
packType
==
'aly'
?
"http://39.99.155.173:8501/"
:
"http://
77.1.24.143:8501
/"
,
//阿里云 and 公安网
ws
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
...
...
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