mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
Fix gravatar retrieval
fixes #1778 - use http for initial request, store url with no schema
This commit is contained in:
parent
16acba5628
commit
4bac1e3672
@ -362,7 +362,7 @@ User = ghostBookshelf.Model.extend({
|
||||
"?d=404",
|
||||
checkPromise = when.defer();
|
||||
|
||||
http.get(gravatarUrl, function (res) {
|
||||
http.get('http:' + gravatarUrl, function (res) {
|
||||
if (res.statusCode !== 404) {
|
||||
userData.image = gravatarUrl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user