This commit is contained in:
lzx1216
2020-11-09 09:27:35 +08:00
parent e9263648a0
commit 70887ab4dc
3 changed files with 486 additions and 4 deletions

View File

@ -34,7 +34,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.0.125:8080`,
// target: `http://192.168.0.125:8080`,
target: `http://121.37.250.170:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''