From 7d72e6025ff1fb2ffe9df1920edf9867cf02650d Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期一, 10 六月 2024 12:11:10 +0800 Subject: [PATCH] vue.config.js --- ruoyi-ui/vue.config.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 683407b..f3b5f9f 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -33,15 +33,18 @@ 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: `https://47.93.189.255:8080/`, + //target: `https://10.39.18.174:8080/`, + // target: `https://192.168.1.3:8089/`, + target: 'https://www.bendudu.com:8080/', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' } } }, + https: true, disableHostCheck: true }, css: { -- Gitblit v1.9.1