From 608a60fb948187417bd487b822c26e74cf8b9bbc Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 19 Dec 2016 17:04:39 +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 ece149a0ce..d78b22c484 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -544,6 +544,8 @@ please consider changing to GITEA_CUSTOM`) 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 }