From 59f588566919fa8df4a9cf903b96b7e5b242b62b Mon Sep 17 00:00:00 2001 From: zcx <377075991@qq.com> Date: Thu, 5 Oct 2023 11:08:05 +0800 Subject: [PATCH] bug --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 9269834..2337d05 100644 --- a/vue.config.js +++ b/vue.config.js @@ -43,8 +43,8 @@ module.exports = { }, // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `https://xueche.ahduima.com/duima/`, - // target: `http://localhost:8086`, + // target: `https://xueche.ahduima.com/duima/`, + target: `http://localhost:8086`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''