Skip to content

Commit

Permalink
fix(image-loader): trust all hosts
Browse files Browse the repository at this point in the history
fixes #23
  • Loading branch information
ihadeed committed Mar 18, 2017
1 parent 97bd084 commit 6411b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/image-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class ImageLoader {
*/
private downloadImage(imageUrl: string, localPath: string): Promise<any> {
let transfer = new Transfer();
return transfer.download(imageUrl, localPath);
return transfer.download(imageUrl, localPath, true);
}

/**
Expand Down

0 comments on commit 6411b1c

Please sign in to comment.