diff --git a/ArchiSteamFarm/Steam/Storage/BotConfig.cs b/ArchiSteamFarm/Steam/Storage/BotConfig.cs index 7f68b308d..3f7ef71ba 100644 --- a/ArchiSteamFarm/Steam/Storage/BotConfig.cs +++ b/ArchiSteamFarm/Steam/Storage/BotConfig.cs @@ -177,10 +177,7 @@ public sealed class BotConfig { return null; } - WebProxy proxy = new() { - Address = uri, - BypassProxyOnLocal = true - }; + WebProxy proxy = new(uri, true); if (!string.IsNullOrEmpty(WebProxyUsername) || !string.IsNullOrEmpty(WebProxyPassword)) { NetworkCredential credentials = new(); diff --git a/ArchiSteamFarm/Storage/GlobalConfig.cs b/ArchiSteamFarm/Storage/GlobalConfig.cs index cbec3066e..d22749a43 100644 --- a/ArchiSteamFarm/Storage/GlobalConfig.cs +++ b/ArchiSteamFarm/Storage/GlobalConfig.cs @@ -172,10 +172,7 @@ public sealed class GlobalConfig { return null; } - WebProxy proxy = new() { - Address = uri, - BypassProxyOnLocal = true - }; + WebProxy proxy = new(uri, true); if (!string.IsNullOrEmpty(WebProxyUsername) || !string.IsNullOrEmpty(WebProxyPassword)) { NetworkCredential credentials = new();