mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 18:22:13 +01:00
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"
This commit is contained in:
parent
578a8e258e
commit
608a60fb94
1 changed files with 2 additions and 0 deletions
|
@ -544,6 +544,8 @@ please consider changing to GITEA_CUSTOM`)
|
||||||
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
|
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
|
||||||
case "gravatar":
|
case "gravatar":
|
||||||
GravatarSource = "https://secure.gravatar.com/avatar/"
|
GravatarSource = "https://secure.gravatar.com/avatar/"
|
||||||
|
case "libravatar":
|
||||||
|
GravatarSource = "https://seccdn.libravatar.org/avatar/"
|
||||||
default:
|
default:
|
||||||
GravatarSource = source
|
GravatarSource = source
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue