diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-03-23 10:45:06 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-03-23 10:45:06 -0400 |
commit | 8b43bd1c37d740f8670d8502c65918151af24cb8 (patch) | |
tree | 6fc09df1b6bef1a73fac40771702ae5f4f71f1d4 /modules/base | |
parent | f7f175a0793a53f3c50d20d89e324a610f94c442 (diff) | |
parent | 4bac3616055110da6f060e98174bc2381ef91286 (diff) |
Merge pull request #32 from shxsun/master
finish gravatar module
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 6d31b052..0dec7aa8 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -102,7 +102,7 @@ func CreateTimeLimitCode(data string, minutes int, startInf interface{}) string // AvatarLink returns avatar link by given e-mail. func AvatarLink(email string) string { - return "http://1.gravatar.com/avatar/" + EncodeMd5(email) + return "/avatar/" + EncodeMd5(email) } // Seconds-based time units |