Skip to content

Commit 235eb4c

Browse files
authored
Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
2 parents 380e32e + 608a60f commit 235eb4c

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)