Commit 8b683416 authored by 耿迪迪's avatar 耿迪迪

修改配置 gengdidi

parent e49b0d0f
......@@ -18,10 +18,10 @@ zehong:
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8080
port: 8903
servlet:
# 应用的访问路径
context-path: /
context-path: /gassafety
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
......
......@@ -33,7 +33,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
target: `http://localhost:8903/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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment