summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorChristopher Brickley <brickley@gmail.com>2014-04-14 22:01:24 -0400
committerChristopher Brickley <brickley@gmail.com>2014-04-14 22:01:24 -0400
commitb9a1d13c29c3a1dcebc5b34914a29efbafd374f5 (patch)
treebccf9b9de40642dec4ee439844422f863e86e4e5 /models
parentd9f2878db4785b2d1c46ac25c547395c57338817 (diff)
downloadgitea-b9a1d13c29c3a1dcebc5b34914a29efbafd374f5.tar.gz
gitea-b9a1d13c29c3a1dcebc5b34914a29efbafd374f5.zip
change gravatar image to match URL scheme
Diffstat (limited to 'models')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index ffee2dd9e5..ab43df7a1e 100644
--- a/models/user.go
+++ b/models/user.go
@@ -76,7 +76,7 @@ func (user *User) AvatarLink() string {
if base.Service.EnableCacheAvatar {
return "/avatar/" + user.Avatar
}
- return "http://1.gravatar.com/avatar/" + user.Avatar
+ return "//1.gravatar.com/avatar/" + user.Avatar
}
// NewGitSig generates and returns the signature of given user.