Skip to content

Commit

Permalink
Merge pull request #412 from strk/libravatar-source
Browse files Browse the repository at this point in the history
Add support for using "libravatar" as the GravatarSource
  • Loading branch information
andreynering authored Dec 20, 2016
2 parents 380e32e + 608a60f commit 235eb4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 235eb4c

Please sign in to comment.