mirror of https://github.com/go-gitea/gitea.git
Using https for gravatar
This commit is contained in:
parent
1becf01cfa
commit
beefc53e59
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue