dev-qsh
zcx 1 year ago
parent f83a81c02a
commit 59f5885669
  1. 4
      vue.config.js

@ -43,8 +43,8 @@ module.exports = {
}, },
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `https://xueche.ahduima.com/duima/`, // target: `https://xueche.ahduima.com/duima/`,
// target: `http://localhost:8086`, target: `http://localhost:8086`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save