Skip to content

Commit

Permalink
fix(transformers): Use https for upload urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Jul 1, 2016
1 parent 12aa0df commit 50b8429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transform/transformers.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function assets (asset) {
asset.fields.file,
(newFile, file, locale) => {
newFile[locale] = omit(file, 'url', 'details')
newFile[locale].upload = 'http:' + file.url
newFile[locale].upload = 'https:' + file.url
return newFile
},
{}
Expand Down

0 comments on commit 50b8429

Please sign in to comment.