diff --git a/vj4/template.py b/vj4/template.py index d162d4971..3d23ada8a 100644 --- a/vj4/template.py +++ b/vj4/template.py @@ -79,7 +79,7 @@ def gravatar_url(gravatar, size=200): gravatar_hash = hashlib.md5(gravatar.lower().encode()).hexdigest() else: gravatar_hash = '' - return ('//gravatar.proxy.ustclug.org/avatar/' + gravatar_hash + "?" + + return ('//cn.gravatar.com/avatar/' + gravatar_hash + "?" + parse.urlencode({'d': 'mm', 's': str(size)}))