diff options
| author | Eltrac <hi@guhub.cn> | 2022-11-09 10:43:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-09 10:43:03 +0800 |
| commit | b4e65c442b729ab6352b7a291daeb8af8a20fa82 (patch) | |
| tree | 3ae8bfeb75308768c09b29f9794896551f1dcae3 /libs/Comments.php | |
| parent | bf285ac1dee6be5f9c7961549dd904c2f9066094 (diff) | |
| parent | a6c41081a273a023c48779f15f63dcd1b1b87517 (diff) | |
Merge pull request #11 from KurococLiu/main
Fix: 新增字数统计、preconnect,修正部分文本错误、更进文档内容
Diffstat (limited to 'libs/Comments.php')
| -rw-r--r-- | libs/Comments.php | 4 |
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; } |
