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 に答える