Skip to content

Commit 608a60f

Browse files
committed
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"
1 parent 578a8e2 commit 608a60f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/setting/setting.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,8 @@ please consider changing to GITEA_CUSTOM`)
544544
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
545545
case "gravatar":
546546
GravatarSource = "https://secure.gravatar.com/avatar/"
547+
case "libravatar":
548+
GravatarSource = "https://seccdn.libravatar.org/avatar/"
547549
default:
548550
GravatarSource = source
549551
}

0 commit comments

Comments
 (0)