Skip to content

Commit

Permalink
Merge pull request #885 from fjbarrett/image-url
Browse files Browse the repository at this point in the history
Change image url to stable provider
  • Loading branch information
Marak authored Jun 10, 2020
2 parents ab45902 + 85c8c8d commit 7bdd36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var Image = function (faker) {
if (typeof https !== 'undefined' && https === true) {
protocol = 'https://';
}
var url = protocol + 'lorempixel.com/' + width + '/' + height;
var url = protocol + 'placeimg.com/' + width + '/' + height;
if (typeof category !== 'undefined') {
url += '/' + category;
}
Expand Down Expand Up @@ -224,4 +224,4 @@ var Image = function (faker) {
}


module["exports"] = Image;
module["exports"] = Image;

0 comments on commit 7bdd36a

Please sign in to comment.