cdn.jsdelivr.us的响应头有两个Access-Control-Allow-Origin
Closed this issue · 3 comments
xingpingcn commented
打开控制台会报错
Access to fetch at 'https://cdn.jsdelivr.us/gh/xingpingcn/picx-images-hosting@master/20230420/image.55d0qoox6bg0.png' from origin 'https://www.xingpingcn.top' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
如果是cdn.jsdelivr.net 就没有问题。
54ayao commented
好,知道了,我去发版处理一下
54ayao commented
谢谢
54ayao commented