Skip to content

Commit

Permalink
fix: wrong field name
Browse files Browse the repository at this point in the history
  • Loading branch information
itsusinn committed Oct 30, 2021
1 parent 72d1554 commit 42eeff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 42eeff6

Please sign in to comment.