mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-17 02:14:53 +08:00
Using https for gravatar
This commit is contained in:
@ -415,7 +415,7 @@ func NewContext() {
|
|||||||
case "duoshuo":
|
case "duoshuo":
|
||||||
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
|
GravatarSource = "http://gravatar.duoshuo.com/avatar/"
|
||||||
case "gravatar":
|
case "gravatar":
|
||||||
GravatarSource = "//secure.gravatar.com/avatar/"
|
GravatarSource = "https://secure.gravatar.com/avatar/"
|
||||||
default:
|
default:
|
||||||
GravatarSource = source
|
GravatarSource = source
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user