[Update] 修改代理

This commit is contained in:
ibuler
2020-04-29 10:38:46 +08:00
parent d8ba9d2bde
commit 7d6d4cfc00
2 changed files with 21 additions and 26 deletions

View File

@@ -46,6 +46,10 @@ module.exports = {
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
},
'^/(auth|static)': {
target: `http://localhost:8080`,
changeOrigin: true
}
},
after: require('./mock/mock-server.js')