开发者社区> 问答> 正文

from origin 'null' has been blocked by CORS policy

from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

在本地上https://help.aliyun.com/document_detail/91868.htm?spm=a2c4g.11186623.2.11.4c28691cMGm6k8#concept-ahk-rfz-2fb下载这个后端源码和前端源码的时候,配置好相关参数后出现这个错误,检查了跨域配置都是正确的?

有大神给出解决思路吗

展开
收起
hi20184820 2021-06-23 18:02:27 2090 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
Well-That-Escalated-Quickly-How-Abusing-The-Docker-API-Led-To-Remote-Code-Execution-Same-Origin-Bypass-And-Persistence 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载