feat: 新增全局CORS跨域过滤器,支持设备后台跨域访问网关
- 新增 CorsFilter(@Component(index=-200)最高优先级) - OPTIONS预检请求:动态回显 Access-Control-Request-Headers,直接短路返回200不透传源服务器 - 其他请求:响应头补充 Access-Control-Allow-Origin 等CORS头 - 解决jeecg vue3前端自定义头(x-version等)被CORS拦截问题 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user