mirror of
https://gitee.com/gitea/gitea
synced 2026-01-02 13:46:36 +08: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