mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use system web proxy
This commit is contained in:
parent
65577a67dc
commit
2d1dfece25
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ namespace Wox.Infrastructure.Http
|
|||
{
|
||||
public static class Http
|
||||
{
|
||||
public static WebProxy WebProxy(IHttpProxy proxy)
|
||||
public static IWebProxy WebProxy(IHttpProxy proxy)
|
||||
{
|
||||
if (proxy != null && proxy.Enabled && !string.IsNullOrEmpty(proxy.Server))
|
||||
{
|
||||
|
|
@ -29,7 +29,7 @@ namespace Wox.Infrastructure.Http
|
|||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
return WebRequest.GetSystemWebProxy();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue