vue-cli构建项目反向代理配置


vue-cli构建项目反向代理配置

proxyTable: {//配置请求代理
'/dlsys':{
target:'http://192.168.16.209:81',
changeOrigin:true,
pathRewrith:{
'^/dlsys': '/dlsys'
}
},
'/dlapi':{
target:'http://192.168.16.209:81',
changeOrigin:true,
pathRewrith:{
'^/dlapi': '/dlapi'
}
},
'/dlbiz':{
target:'http://192.168.16.211:80',
changeOrigin:true,
pathRewrith:{
'^/dlbiz': '/dlbiz'
}
}
},
vue-cli构建项目反向代理配置
vue-cli构建项目反向代理配置

相关文章:

  • 2022-12-23
  • 2021-04-23
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2021-07-10
相关资源
相似解决方案