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

assets failed to be load in production deploy #1

Open
woosungchu opened this issue Mar 23, 2017 · 3 comments
Open

assets failed to be load in production deploy #1

woosungchu opened this issue Mar 23, 2017 · 3 comments

Comments

@woosungchu
Copy link
Owner

woosungchu commented Mar 23, 2017

tried to add url into fingerprint.prepend but not working too

@woosungchu
Copy link
Owner Author

http://stackoverflow.com/questions/25676548/ember-cli-heroku-deployment-cannot-access-public-folder

Figured this out a while back, in case anyone wants to know it's because Ember-CLI's fingerprinting conflicting with direct-linking the images.

Adding this in Brocfile.js:

fingerprint: {
    exclude: ['assets/images']
}

Allows the filed to be direct-linked. See the ember-cli documentation for more details.

@woosungchu
Copy link
Owner Author

It doesn't work. posted issue to community here

@woosungchu woosungchu reopened this Mar 24, 2017
@woosungchu
Copy link
Owner Author

woosungchu commented Mar 30, 2017

It works in AWS cloudfront but not in heroku

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