禁用代理

This commit is contained in:
xljiulang 2021-06-11 23:13:43 +08:00
parent bca67653a3
commit ea70ddda61

View File

@ -34,6 +34,8 @@ namespace FastGithub.Middlewares
using var httpClient = new HttpClient(new HttpClientHandler
{
Proxy = null,
UseProxy = false,
ServerCertificateCustomValidationCallback = (_, _, _, _) => true
});