I'm trying to configure font-awesome for a Rails3 app hosted in Heroku and using CDN Sumo addon (which uses cloudfront CDN).
The problem is that Firefox is not loading the font assets. I think that the problem is the "Access-Control-Allow-Origin" problem in Firefox. But I can't fix it by using font_assets gem or setting CORS policy in Cloudfront (I don't have access to it because I'm using CDN Sumo addon).
Any idea?
Thanks!
Make sure that the Access-Control-Allow-Origin
Header is set by the server that is hosting your fonts.
You can configure your origin server, if you need to change it, through the CDN Sumo dashboard.
CDN Sumo does not support custom CORS policies at this time.
For reference, these links might be useful:
Setting CORS for rails apps
Firefox and CORS
Heroku / CDN / fonts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With