summaryrefslogtreecommitdiff
path: root/libs/Comments.php
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2022-11-09 10:43:03 +0800
committerGitHub <noreply@github.com>2022-11-09 10:43:03 +0800
commitb4e65c442b729ab6352b7a291daeb8af8a20fa82 (patch)
tree3ae8bfeb75308768c09b29f9794896551f1dcae3 /libs/Comments.php
parentbf285ac1dee6be5f9c7961549dd904c2f9066094 (diff)
parenta6c41081a273a023c48779f15f63dcd1b1b87517 (diff)
Merge pull request #11 from KurococLiu/main
Fix: 新增字数统计、preconnect,修正部分文本错误、更进文档内容
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;
}