0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Merge pull request #1806 from ErisDS/issue-1778

Fix gravatar retrieval
This commit is contained in:
Hannah Wolfe 2014-01-01 11:24:09 -08:00
commit 422e27a58d

View file

@ -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;
}