From f43554d828bc2212c5d7118d7de5ebcc57d1c6f3 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 15 八月 2023 19:28:50 +0800 Subject: [PATCH] 修改间隔 --- ruoyi-ui/vue.config.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 5537a41..0ba49d3 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -7,9 +7,9 @@ const CompressionPlugin = require('compression-webpack-plugin') -const name = process.env.VUE_APP_TITLE || '寮犳皬APP' // 缃戦〉鏍囬 +const name = process.env.VUE_APP_TITLE || '鑻ヤ緷绠$悊绯荤粺' // 缃戦〉鏍囬 -const port = process.env.port || process.env.npm_config_port || 8088 // 绔彛 +const port = process.env.port || process.env.npm_config_port || 80 // 绔彛 // vue.config.js 閰嶇疆璇存槑 //瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions @@ -35,8 +35,7 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://localhost:8080`, - target: `http://47.93.189.255:8080`, + target: `http://47.93.189.255:8080/`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' @@ -48,7 +47,8 @@ css: { loaderOptions: { sass: { - sassOptions: { outputStyle: "expanded" } + sassOptions: { outputStyle: "expanded" }, + } } }, -- Gitblit v1.9.1