From e868bf003b3019d47fd5d2e2cb81e766e58e8125 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 19 Dec 2016 21:03:58 +0100 Subject: [PATCH] Add support for using "libravatar" as the GravatarSource Just to make it easier for administrator to configure libre avatar, as it is done for "duoshuo" and "gravatar" --- modules/setting/setting.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 6a149e81b..581d4137a 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -522,6 +522,8 @@ func NewContext() { GravatarSource = "http://gravatar.duoshuo.com/avatar/" case "gravatar": GravatarSource = "https://secure.gravatar.com/avatar/" + case "libravatar": + GravatarSource = "https://seccdn.libravatar.org/avatar/" default: GravatarSource = source }