技术栈
预检请求
梁萌
10 个月前
java
·
spring boot
·
跨域
·
crossorigin
·
预检请求
SpringBoot跨域问题解决
前端访问后台接口时,浏览器报错,跨域无法访问。报错信息如下:Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.