1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

Merge pull request #412 from strk/libravatar-source

Add support for using "libravatar" as the GravatarSource
This commit is contained in:
Andrey Nering 2016-12-20 10:32:45 -02:00 committed by GitHub
commit 235eb4c3d2

View File

@ -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
}