change-代理target: `http://localhost:8010`改为8020

boardTest
zangch 10 months ago
parent 615d02f093
commit 5ee8b399f4

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8010`,
target: `http://localhost:8020`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save