From 598fe738b22d39172b068db5309476e08481e868 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 10 九月 2024 16:20:31 +0800 Subject: [PATCH] 修改bug --- ruoyi-ui/vue.config.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 0ba49d3..0b0cb0e 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -30,18 +30,22 @@ // webpack-dev-server 鐩稿叧閰嶇疆 devServer: { host: '0.0.0.0', + // public: '192.168.1.2:8080', // 姝ゅ鏄嚜宸辩數鑴慖P鍦板潃锛� port: port, open: true, proxy: { - // detail: https://cli.vuejs.org/config/#devserver-proxy + // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://47.93.189.255:8080/`, + //target: `https://10.39.18.174:8080/`, + // target: `https://192.168.1.7:8080/`, + target: 'https://www.bendudu.com:8080/', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' } } }, + https: true, disableHostCheck: true }, css: { -- Gitblit v1.9.1