From 93d5248746860e9c19bedaab8761d480d0ce18b9 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期日, 11 八月 2024 10:53:19 +0800 Subject: [PATCH] 解决了报错 --- ruoyi-ui/vue.config.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 1bde388..339f1fb 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -35,8 +35,9 @@ proxy: { // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `https://10.39.18.174:8080/`, - // target: 'https://www.bendudu.com:8080/', + //target: `https://10.39.18.174:8080/`, + // target: `https://192.168.1.5:8080/`, + target: 'https://www.bendudu.com:8080/', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.1