This commit is contained in:
刘召雪
2020-11-18 08:38:36 +08:00
parent 447dd11604
commit 360f730522
3 changed files with 118 additions and 2 deletions

View File

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