From b9a1d13c29c3a1dcebc5b34914a29efbafd374f5 Mon Sep 17 00:00:00 2001 From: Christopher Brickley Date: Mon, 14 Apr 2014 22:01:24 -0400 Subject: change gravatar image to match URL scheme --- modules/base/tool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/base/tool.go b/modules/base/tool.go index 082c0392..9b165b97 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -143,7 +143,7 @@ func AvatarLink(email string) string { if Service.EnableCacheAvatar { return "/avatar/" + EncodeMd5(email) } - return "http://1.gravatar.com/avatar/" + EncodeMd5(email) + return "//1.gravatar.com/avatar/" + EncodeMd5(email) } // Seconds-based time units -- cgit v1.2.3