Access-Control-Allow- 设置 跨域资源共享 CORS 详解
摘要:
跨域访问的项目常在过滤器或者拦截器中添加如下配置 response.setHeader("Access-Control-Allow-Origin", "*"); response.setHeader("Access-Control-Allow-Methods", "POST,OPTIONS,GET" 阅读全文
posted @ 2024-08-26 10:40 itjeff 阅读(1138) 评论(0) 推荐(0) 编辑