Fixed gravatar url

This commit is contained in:
miles@Oscar 2016-01-29 11:05:41 +08:00
parent 4deb876343
commit 1becf01cfa

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 = "//1.gravatar.com/avatar/" GravatarSource = "//secure.gravatar.com/avatar/"
default: default:
GravatarSource = source GravatarSource = source
} }