diff options
author | Christopher Brickley <brickley@gmail.com> | 2014-04-14 22:01:24 -0400 |
---|---|---|
committer | Christopher Brickley <brickley@gmail.com> | 2014-04-14 22:01:24 -0400 |
commit | b9a1d13c29c3a1dcebc5b34914a29efbafd374f5 (patch) | |
tree | bccf9b9de40642dec4ee439844422f863e86e4e5 /modules/base | |
parent | d9f2878db4785b2d1c46ac25c547395c57338817 (diff) | |
download | gitea-b9a1d13c29c3a1dcebc5b34914a29efbafd374f5.tar.gz gitea-b9a1d13c29c3a1dcebc5b34914a29efbafd374f5.zip |
change gravatar image to match URL scheme
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/tool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go index 082c039250..9b165b979b 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -143,7 +143,7 @@ func AvatarLink(email string) string { if Service.EnableCacheAvatar { return "/avatar/" + EncodeMd5(email) } - return "http://1.gravatar.com/avatar/" + EncodeMd5(email) + return "//1.gravatar.com/avatar/" + EncodeMd5(email) } // Seconds-based time units |