spring-boot-plus CORS跨域处理

2019-10-15
阅读 2 分钟
1.5k
CORS是一种允许当前域(domain)的资源(比如html/js/web service)被其他域(domain)的脚本请求访问的机制,通常由于同域安全策略(the same-origin security policy)浏览器会禁止这种跨域请求。