achambers / ember-cli-deploy-original

An Ember-CLI addon for lightening fast deployment of applications
77 stars 18 forks source link

Asset url rewriting #48

Closed jbrown closed 9 years ago

jbrown commented 10 years ago

I was able to successfully deploy index to a fuzzy-wookie server and my assets to S3. But shouldn't the asset urls in index be rewritten to point to S3? Am I missing something?

achambers commented 10 years ago

You are. But only because there is something I should have put in the README...but forgot ;)

You need to modify your Brocfile.js as follows:

var app = new EmberApp({
  fingerprint: {
    prepend: '<the base url to your assets>'
  }
});