summaryrefslogtreecommitdiffstats
path: root/modules/base/tool.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/tool.go')
-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 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