Commit c6087ef5 authored by yaqizhang's avatar yaqizhang

Merge branch 'master' of http://111.61.77.35:9999/gengdidi/gassafety into master

parents 4ddb76c7 42a05d40
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
ENV = 'production' ENV = 'production'
# 燃气安全管理系统/生产环境 # 燃气安全管理系统/生产环境
VUE_APP_BASE_API = '/gassafety' VUE_APP_BASE_API = '/prod-api'
port = 8091
...@@ -33,7 +33,7 @@ module.exports = { ...@@ -33,7 +33,7 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8903/gassafety`, target: `http://36.148.23.59:8901/gassafety`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
......
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