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]: ''