diff --git a/.env.production b/.env.production index 55ea87c..5df27e3 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ #开发环境 NODE_ENV:"production" # 页面标题 -VUE_APP_TITLE = 汉邦唐全真数字服务平台 +VUE_APP_TITLE = 双重预防 # 网关地址 VUE_APP_GATEWAY_URL="/prod-api" # 服务地址 @@ -14,6 +14,6 @@ VUE_APP_ALL_MENU = false # VUE_APP_REMOTES_URL="http://192.168.1.20:8090" # # 当前应用部署地址 # VUE_APP_EXPOSES_URL="http://192.168.1.20:8090" -VUE_APP_REMOTES_URL="http://119.45.158.12/common/" +VUE_APP_REMOTES_URL="http://119.45.158.12/common" # 当前应用部署地址 VUE_APP_EXPOSES_URL="/prevention" \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index d1dff25..329d347 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ const resolve = (dir) => { return path.join(__dirname, dir); }; module.exports = defineConfig({ - publicPath: "", + publicPath: "./", productionSourceMap: process.env.NODE_ENV !== "production", transpileDependencies: true, lintOnSave: true, // 在保存时校验格式