mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue