We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b111fc5 commit 769603cCopy full SHA for 769603c
oxybox/src/main.rs
@@ -28,7 +28,7 @@ async fn main() {
28
std::env::var("CONFIG_FILE").unwrap_or_else(|_| "config.yml".to_string());
29
let config_str =
30
std::fs::read_to_string(config_file_location).expect("Failed to read config.yaml");
31
- let dns_hosts = std::env::var("DNS_HOST").unwrap_or_else(|_| "1.1.1.1, 8.8.8.8".to_string());
+ let dns_hosts = std::env::var("DNS_HOSTS").unwrap_or_else(|_| "1.1.1.1, 8.8.8.8".to_string());
32
33
let dns_host_vec: Vec<&str> = dns_hosts.split(',').map(str::trim).collect();
34
0 commit comments