staticfile / static

开放静态文件 - 为开源库提供稳定、快速的免费 CDN 服务
https://staticfile.org
Other
1.41k stars 521 forks source link

报跨域问题:has been blocked by CORS policy #706

Closed uCloudCastle closed 1 week ago

uCloudCastle commented 4 months ago

Access to fetch at 'https://cdn.staticfile.org/dayjs/1.11.9/dayjs.min.js' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Francklin commented 4 months ago

要修改域名为 cdn.staticfile.net