From d489bebb85403755363e1e4de961c04a555945ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Sun, 24 Aug 2025 19:09:03 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Steam/Storage/BotConfig.cs | 5 +---- ArchiSteamFarm/Storage/GlobalConfig.cs | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) 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();