运行环境

main
liukewei 6 months ago
parent 2e7d19ae14
commit 4e7b4253a5

@ -1,8 +1,9 @@
# 页面标题
VUE_APP_TITLE = 唐河县安全隐患及应急救援管理平台
VUE_APP_TITLE = 唐河县应急管理综合业务平台
# 生产环境配置
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/ehsTanghe'
#VUE_APP_BASE_API = '/ehsTanghe'
VUE_APP_BASE_API = 'http://221.176.140.236:8082/ehsTanghe'

@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://127.0.0.1:8082`,
target: `http://221.176.140.236:8082`,
target: `http://127.0.0.1:8082`,
//target: `http://221.176.140.236:8082`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save