From 8cf76566cb932f935ffb95237feb92cd2badf1c0 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 20 Mar 2022 08:15:03 +0800 Subject: [PATCH] chore(web): use gravatar.loli.net as gravatar mirror --- web/app/models/HTML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/models/HTML.php b/web/app/models/HTML.php index e3fda9f..3c44d6a 100644 --- a/web/app/models/HTML.php +++ b/web/app/models/HTML.php @@ -8,7 +8,7 @@ class HTML { return strip_tags($str); } public static function avatar_addr($user, $size) { - return '//cn.gravatar.com/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size"; + return '//gravatar.loli.net/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size"; } public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {