From 4e7b4253a54a489537e6653ce3639af8d8aaf248 Mon Sep 17 00:00:00 2001 From: liukewei Date: Mon, 1 Apr 2024 15:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/.env.production | 5 +++-- ruoyi-ui/vue.config.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/.env.production b/ruoyi-ui/.env.production index e5962f8..d5713b0 100644 --- a/ruoyi-ui/.env.production +++ b/ruoyi-ui/.env.production @@ -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' diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index e609bce..570c35a 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -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]: ''