From 0188d5c81ee28ab2f42edc5d1db67c9cdb0db42d Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期五, 29 三月 2024 23:15:46 +0800 Subject: [PATCH] 提交上传的图像的代码 --- 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 0ba49d3..8ff7d12 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -33,15 +33,17 @@ 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://192.168.1.3: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