Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
42a05d40
Commit
42a05d40
authored
3 years ago
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
环境问题修改 gengdidi
parent
1cefc70a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.env.production
gassafety-web/.env.production
+2
-1
vue.config.js
gassafety-web/vue.config.js
+1
-1
No files found.
gassafety-web/.env.production
View file @
42a05d40
...
...
@@ -2,5 +2,6 @@
ENV = 'production'
# 燃气安全管理系统/生产环境
VUE_APP_BASE_API = '/
gassafety
'
VUE_APP_BASE_API = '/
prod-api
'
port = 8091
This diff is collapsed.
Click to expand it.
gassafety-web/vue.config.js
View file @
42a05d40
...
...
@@ -33,7 +33,7 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://
localhost:8903
/gassafety`
,
target
:
`http://
36.148.23.59:8901
/gassafety`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
This diff is collapsed.
Click to expand it.
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