Using https for gravatar

This commit is contained in:
miles@Oscar 2016-01-29 13:06:17 +08:00
parent 1becf01cfa
commit beefc53e59

View file

@ -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
} }