Merge branch 'main' into feature/bots

This commit is contained in:
Jason Song authored and GitHub committed 2023-01-04 18:57:57 +08:00
commit 0d2945fe4d
5 files changed
+56 -163

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ func Init() error {
}
}
if enableFederatedAvatarSetting.GetValueBool() {
if GravatarSourceURL != nil && enableFederatedAvatarSetting.GetValueBool() {
LibravatarService = libravatar.New()
if GravatarSourceURL.Scheme == "https" {
LibravatarService.SetUseHTTPS(true)