refactor<Avatar>: use cravatar.cn instead of gravatar.com to fetch user's avatar

This commit is contained in:
leo 2023-07-24 12:01:19 +08:00
parent 26171e19c4
commit 020577e240

View file

@ -192,7 +192,7 @@ namespace SourceGit.Views.Controls {
if (!requesting.ContainsKey(email)) return;
try {
var req = WebRequest.CreateHttp($"https://www.gravatar.com/avatar/{md5}?d=404");
var req = WebRequest.CreateHttp($"https://cravatar.cn/avatar/{md5}?d=404");
req.Timeout = 2000;
req.Method = "GET";