mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
refactor<Avatar>: use cravatar.cn instead of gravatar.com to fetch user's avatar
This commit is contained in:
parent
26171e19c4
commit
020577e240
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ namespace SourceGit.Views.Controls {
|
||||||
if (!requesting.ContainsKey(email)) return;
|
if (!requesting.ContainsKey(email)) return;
|
||||||
|
|
||||||
try {
|
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.Timeout = 2000;
|
||||||
req.Method = "GET";
|
req.Method = "GET";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue