Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalizing to non-font assets? #28

Open
hspinks opened this issue Apr 30, 2014 · 0 comments
Open

Generalizing to non-font assets? #28

hspinks opened this issue Apr 30, 2014 · 0 comments

Comments

@hspinks
Copy link

hspinks commented Apr 30, 2014

I am deploying a Rails 4 application using AngularJS as our front-end MVC framework, and I'd like to deploy our assets through a CDN (Amazon Cloudfront), but am running into CORS issues with the HTML templates for AngularJS.

Because the Rails default is to only add the proper headers to requests for JS, CSS, and image files, and this gem also adds them for webfonts, I thought you might have some insights on how to address the issue I'm facing with HTML templates.

Is it possible to generalize this gem to also apply to HTML? I played around with it a bit, but couldn't find a way to get it to work with my situation.

I also posted a Stack Overflow question with a few more details/links:
http://stackoverflow.com/q/23377343/2434476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant