From e7b6238f4312e87e432baa4cfc5f4ae26ac355f9 Mon Sep 17 00:00:00 2001 From: BlackDex Date: Mon, 12 Aug 2019 17:24:32 +0200 Subject: [PATCH] Added reqwest proxy support --- src/api/icons.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/icons.rs b/src/api/icons.rs index 5f0de99..39475d0 100644 --- 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())