diff --git a/src/main.rs b/src/main.rs index 826b695..9e38e1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,10 +18,9 @@ async fn main() { } let exit_listener = ExitListener::new(); - let config = if let Some(aux) = utils::get_config().await { - aux - } else { - return; + let config = match utils::get_config().await { + Some(aux) => aux, + None => return, }; let mut cloudflare =