diff options
author | Gogs <gogitservice@gmail.com> | 2014-03-23 18:13:23 +0800 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2014-03-23 18:13:23 +0800 |
commit | 964e537479c497a5ba42799a1c1a7c430720e990 (patch) | |
tree | b375f9a485ad08495a9e178bfe7d720d55febead /modules/base | |
parent | 79604f553f45af658a884544187b00fb9fa3169c (diff) | |
download | gitea-964e537479c497a5ba42799a1c1a7c430720e990.tar.gz gitea-964e537479c497a5ba42799a1c1a7c430720e990.zip |
append route to web
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 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 |