原文:Spring Cloud Gateway 2.x 跨域出现The 'Access-Control-Allow-Origin' header contains multiple values,....but only one is allowed 的问题解决

问题描述:vue前端调用后端登陆接口报错如下 Access to XMLHttpRequest at http: localhost: api sys login from origin http: localhost: has been blocked by CORS policy: The Access Control Allow Origin header contains multiple ...

2021-01-28 14:55 1 585 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM