Rails assets Cloudfront fontawesome CORS
问题 I tried a lot of solutions found on stackoverflow/github for this issue but I can't get it to work. I'm using font-awesome-rails and I precompile my assets for production. I've set CloudFront for my assets in my production config: config.action_controller.asset_host = "https://XXXX.cloudfront.net" When I load a page (from Chrome/Firefox because Safari is OK with CORS) I get this common error message : Font from origin 'https://XXXX.cloudfront.net' has been blocked from loading by Cross-Origin