Commit 42a05d40 authored by 耿迪迪's avatar 耿迪迪

环境问题修改 gengdidi

parent 1cefc70a
......@@ -2,5 +2,6 @@
ENV = 'production'
# 燃气安全管理系统/生产环境
VUE_APP_BASE_API = '/gassafety'
VUE_APP_BASE_API = '/prod-api'
port = 8091
......@@ -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]: ''
......
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