diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-16 20:27:04 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-16 20:27:04 -0500 |
commit | 340a4595ddc9e08f4c51f40496affb8fd3bb013d (patch) | |
tree | 2d1b899e001066a81a9b142884ae6d11895698f7 /modules/base | |
parent | 4c770b87c5aebc33b9fdd118b332732f995d63b2 (diff) | |
download | gitea-340a4595ddc9e08f4c51f40496affb8fd3bb013d.tar.gz gitea-340a4595ddc9e08f4c51f40496affb8fd3bb013d.zip |
support duoshuo mirror of gravatar
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 50f073a525..0e083c8d0c 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -180,7 +180,7 @@ func AvatarLink(email string) string { } else if setting.Service.EnableCacheAvatar { return setting.AppSubUrl + "/avatar/" + EncodeMd5(email) } - return "//1.gravatar.com/avatar/" + EncodeMd5(email) + return setting.GravatarSource + EncodeMd5(email) } // Seconds-based time units |