Anas22 / googlefontdirectory

Automatically exported from code.google.com/p/googlefontdirectory
0 stars 0 forks source link

The Fonts/font-awesome getting blocked in newer version of Chrome #365

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The fonts(.ttf,.woff etc) are getting blocked in chrome version (20+).
The error shown in console for this is as follows :

Font from origin 'http://localhost' 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://localhost:9081' is 
therefore not allowed access. 

Please suggest a solution for this.
Thansk in Advance.

Original issue reported on code.google.com by sheen.sa...@gmail.com on 12 Nov 2014 at 8:17