From b46c667d9250eb6d2bb58847dcbfdf105f731127 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期四, 12 十月 2023 10:45:31 +0800 Subject: [PATCH] 增加了https:true --- ruoyi-ui/vue.config.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 05ddcda..69186eb 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -35,19 +35,21 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://47.93.189.255:8080/`, + target: `https://47.93.189.255:8080/`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' } } }, + https: true, disableHostCheck: true }, css: { loaderOptions: { sass: { - sassOptions: { outputStyle: "expanded" } + sassOptions: { outputStyle: "expanded" }, + } } }, -- Gitblit v1.9.1