diff --git a/doodle/core/models/user.py b/doodle/core/models/user.py index f621da5..c22c3cf 100755 --- a/doodle/core/models/user.py +++ b/doodle/core/models/user.py @@ -41,7 +41,7 @@ def get_by_emails(cls, emails): return {} def get_avatar(self): - return '//gravatar.cn/avatar/' + md5(self.email).hexdigest() + return '//gravatar.com/avatar/' + md5(self.email).hexdigest() def is_admin(self): return self.id == CONFIG.ADMIN_USER_ID diff --git a/doodle/templates/web/profile.html b/doodle/templates/web/profile.html index 6ddd6b2..efdb880 100755 --- a/doodle/templates/web/profile.html +++ b/doodle/templates/web/profile.html @@ -7,7 +7,7 @@

账号邮箱:#{user.email}

-

头像(可在 gravatar 设置):avatar

+

头像(可在 gravatar 设置):avatar