0

我在子域上从 CDN Amazon CloudFlare 请求字体时遇到此错误,问题仅出在 Google Chrome 上,显然它在 Safari 上运行良好。

Font from origin 'http://static.wagency.co' has been blocked from loading by Cross-Origin Resource 

Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://wagency.co' is therefore not allowed access. (index):1
Font from origin 'http://static.wagency.co' has been blocked from loading by Cross-Origin Resource Sharing policy: The 'Access-Control-Allow-Origin' header contains the invalid value '*.wagency.co'. Origin 'http://wagency.co' is therefore not allowed access. (index):1
7Font from origin 'http://static.wagency.co' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://wagency.co' is therefore not allowed access. 
4

1 回答 1

0

似乎特定于 Chrome。在 Google 产品论坛中看到了这些关于类似问题的提示。

于 2014-09-16T18:19:05.183 回答