summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/tool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 8fabb8c531..8d0d38216d 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -98,7 +98,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