mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 04:36:11 +01:00
Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
This commit is contained in:
commit
235eb4c3d2
|
@ -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