summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index 88fcb8388e..7038e075f8 100644
--- a/models/user.go
+++ b/models/user.go
@@ -100,7 +100,7 @@ func (u *User) AvatarLink() string {
} else if setting.Service.EnableCacheAvatar {
return setting.AppSubUrl + "/avatar/" + u.Avatar
}
- return "//1.gravatar.com/avatar/" + u.Avatar
+ return setting.GravatarSource + u.Avatar
}
// NewGitSig generates and returns the signature of given user.