Skip to content

Generalizing to non-font assets? #28

@hspinks

Description

@hspinks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions