mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
support duoshuo mirror of gravatar
This commit is contained in:
@@ -180,7 +180,7 @@ func AvatarLink(email string) string {
|
||||
} else if setting.Service.EnableCacheAvatar {
|
||||
return setting.AppSubUrl + "/avatar/" + EncodeMd5(email)
|
||||
}
|
||||
return "//1.gravatar.com/avatar/" + EncodeMd5(email)
|
||||
return setting.GravatarSource + EncodeMd5(email)
|
||||
}
|
||||
|
||||
// Seconds-based time units
|
||||
|
Reference in New Issue
Block a user