mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
feature<Avatar>: add settings for avatar server
This commit is contained in:
parent
6a9ee67524
commit
3dfe3ae252
6 changed files with 73 additions and 21 deletions
|
@ -157,7 +157,7 @@ namespace SourceGit.Helpers {
|
|||
|
||||
Action job = () => {
|
||||
try {
|
||||
HttpWebRequest req = WebRequest.CreateHttp("https://www.gravatar.com/avatar/" + md5 + "?d=404");
|
||||
HttpWebRequest req = WebRequest.CreateHttp(App.Setting.UI.AvatarServer + md5 + "?d=404");
|
||||
req.Timeout = 2000;
|
||||
req.Method = "GET";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue