summaryrefslogtreecommitdiff
path: root/libs/Comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/Comments.php')
-rw-r--r--libs/Comments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/Comments.php b/libs/Comments.php
index 0d3b3b1..52a7c6a 100644
--- a/libs/Comments.php
+++ b/libs/Comments.php
@@ -36,13 +36,13 @@ Class Comments {
}
/**
- * 获取 Gravatar 头像链接
+ * 获取 Cravatar 头像链接
*/
public static function gravatar($email, int $size = 100, int $useCDN = NULL)
{
//MD5 EMail
$email = md5($email);
- $avatar = 'https://gravatar.loli.net/avatar/' . $email . '?s=' . $size;
+ $avatar = 'https://cravatar.cn/avatar/' . $email . '?s=' . $size;
return $avatar;
}