commit e7b6238f4312e87e432baa4cfc5f4ae26ac355f9
parent 8be2ed6255f6137267dde218ca8b53ef38321a1a
Author: BlackDex <black.dex@gmail.com>
Date: Mon, 12 Aug 2019 17:24:32 +0200
Added reqwest proxy support
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/api/icons.rs b/src/api/icons.rs
@@ -27,6 +27,7 @@ const ALLOWED_CHARS: &str = "_-.";
lazy_static! {
// Reuse the client between requests
static ref CLIENT: Client = Client::builder()
+ .use_sys_proxy()
.gzip(true)
.timeout(Duration::from_secs(CONFIG.icon_download_timeout()))
.default_headers(_header_map())