diff options
| author | Marak <[email protected]> | 2020-06-10 00:25:15 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-10 00:25:15 -0500 |
| commit | 7bdd36a5e3e22e53a2369caa90e4d682bf4b3b60 (patch) | |
| tree | 45cd5516cabe29cd643ad68309a53bbfd35983f8 | |
| parent | ab45902e8ef4daedb0fd9d6777896ca0446c4d01 (diff) | |
| parent | 85c8c8d65c5119dfc799b7a73dc9de86963bd9ce (diff) | |
| download | faker-7bdd36a5e3e22e53a2369caa90e4d682bf4b3b60.tar.xz faker-7bdd36a5e3e22e53a2369caa90e4d682bf4b3b60.zip | |
Merge pull request #885 from fjbarrett/image-url
Change image url to stable provider
| -rw-r--r-- | lib/image.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/image.js b/lib/image.js index 426ce78f..271b62f6 100644 --- a/lib/image.js +++ b/lib/image.js @@ -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; } @@ -224,4 +224,4 @@ var Image = function (faker) { } -module["exports"] = Image;
\ No newline at end of file +module["exports"] = Image; |
