diff --git a/src/net.rs b/src/net.rs index 1381625..6e3b874 100644 --- a/src/net.rs +++ b/src/net.rs @@ -5,7 +5,7 @@ fn default_reqwest_settings() -> reqwest::ClientBuilder { pub fn client_from_config() -> reqwest::Client { use crate::config::CONFIG; let builder = default_reqwest_settings().use_rustls_tls(); - if CONFIG.proxy.enabled { + if CONFIG.proxy.enable { builder .proxy(reqwest::Proxy::all(&CONFIG.proxy.address).expect("reqwest::Proxy creation failed")) } else {