From 04732e74e10b320e9f98afd0f5705025951fa4ed Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Thu, 9 Feb 2023 11:42:55 +0800 Subject: [PATCH] chore: 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 0c78a8e..fa5b242 100644 --- a/web/app/models/HTML.php +++ b/web/app/models/HTML.php @@ -83,7 +83,7 @@ class HTML { return "https://q1.qlogo.cn/g?b=qq&nk={$user['qq']}&s=$s"; } - return '//gravatar.loli.net/avatar/' . md5(strtolower(trim($user['email']))) . "?d=mm&s=$size"; + return 'https://cravatar.cn/avatar/' . md5(strtolower(trim($user['email']))) . "?d=404&s=$size"; } public static function tablist($tabs_info, $cur, $type = 'nav-tabs') {