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
8b683416
Commit
8b683416
authored
Jul 06, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置 gengdidi
parent
e49b0d0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
application.yml
gassafety-admin/src/main/resources/application.yml
+2
-2
vue.config.js
gassafety-web/vue.config.js
+6
-2
No files found.
gassafety-admin/src/main/resources/application.yml
View file @
8b683416
...
...
@@ -18,10 +18,10 @@ zehong:
# 开发环境配置
server
:
# 服务器的HTTP端口,默认为8080
port
:
8
080
port
:
8
903
servlet
:
# 应用的访问路径
context-path
:
/
context-path
:
/
gassafety
tomcat
:
# tomcat的URI编码
uri-encoding
:
UTF-8
...
...
gassafety-web/vue.config.js
View file @
8b683416
...
...
@@ -33,7 +33,7 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://localhost:8
080
`
,
target
:
`http://localhost:8
903/gassafety
`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
@@ -46,8 +46,12 @@ module.exports = {
name
:
name
,
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
)
'@'
:
resolve
(
'src'
),
'utils'
:
resolve
(
'src/utils'
)
}
},
externals
:
{
'AMap'
:
'AMap'
}
},
chainWebpack
(
config
)
{
...
...
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