跨域

Access to image at 'img url 地址 ' from origin 'url 当前域' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

url(当前域) 访问 img url (地址域)出现跨域
img url(地址域) 需要设置响应头 Access-Control-Allow-Origin: *
net::ERR_FAILED

origin xxx is not allowed by Access-control-allow-origin

ios Safari XMLHttpRequest cannot load xxx due to access control checks

posted @ 2022-11-15 14:52  Running00  阅读(54)  评论(0编辑  收藏  举报