diff options
| author | Frank Barrett <[email protected]> | 2020-03-06 00:30:00 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-06 00:30:00 -0700 |
| commit | 85c8c8d65c5119dfc799b7a73dc9de86963bd9ce (patch) | |
| tree | ba418b554f2c729e87b579af5dd282ddbd982f1e /lib | |
| parent | 3b2fa4aebccee52ae1bafc15d575061fb30c3cf1 (diff) | |
| download | faker-85c8c8d65c5119dfc799b7a73dc9de86963bd9ce.tar.xz faker-85c8c8d65c5119dfc799b7a73dc9de86963bd9ce.zip | |
Change image API base URL to stable provider
Diffstat (limited to 'lib')
| -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; |
