Skip to content

Commit

Permalink
Merge pull request ember-cli-deploy#4 in UX/ember-cli-deploy-cs from …
Browse files Browse the repository at this point in the history
…feature/deploy-to-directories to master

* commit '0ed42bb4f9bfeab4ecba833e64907e5e6ce46d66':
  Take into account the apps `baseURL` when deploying assets.
  • Loading branch information
Kelvin Luck committed Mar 2, 2016
2 parents a6e0277 + 0ed42bb commit 3b2f84f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blueprints/ember-cli-deploy-cs/files/config/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ module.exports = function(deployTarget) {
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
region: 'us-west-1',
prefix: require('../package.json').name,
prefix: function(context) {
return require('../package.json').name + context.project.config('production').baseURL;
},
filePattern: '**/*.{' + fileExtWhitelist.join(',') + '}',
},
's3-index': {
Expand Down

0 comments on commit 3b2f84f

Please sign in to comment.