原因分析

反向代理的值pathRewrite只能设置单段路由,比如/test/不能设置双段,比如api/test/

如何解决

把前半段写到target的ip后半段中,比如ip/xx/xx/vue新坑-配置反向代理无效

proxy反向代理配置
http://blog.starpoetry.cn/2018/12/04/Vue-proxy/

相关文章:

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