原文: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