font_assets
font_assets copied to clipboard
Changes response header in development, but not production?
I'm using the gems defaults to allow all font origins, and I can see the response header changing on my development environment. But when I push to production where I'm loading all of my assets from cloudfront I see that the allowed origin is still being set to my origin domain ID that I had setup when I created the Cloudfront distribution?
I'm using Rails 4.1.1. I also noticed that the mime type that gets registered in my Firefox network tab for the particular font asset I'm trying to load in from Cloud front is "font-woff", instead of just "woff". Not sure if that would have an effect on anything or not...
I am also getting the same issues, fonts are loading in development mode but not loading in production mode. Can anyone please help me on this. Thanks in Advance.