commit 27c23b60b8f86b10b745c1dfce358566e877c9d1
parent 8be2ed6255f6137267dde218ca8b53ef38321a1a
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Thu, 15 Aug 2019 22:14:10 +0200
Merge pull request #571 from BlackDex/icon-proxy-support
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())