Cross-Origin issues with SVGs when using CDN
Created by: hughfm
I'm using a Cloudfront CDN distribution and have run into problems loading the SVGs (search icon, up/down arrows). As far as I can tell, browsers don't allow SVGs and the tag to be loaded from another origin.
I'd like to supply a :host option in the call to asset_url inside the svg_tag helper method. Does anyone have a suggestion on the best way to override this?
Thanks, experience has been great with administrate by the way!