diff --git a/src/config.rs b/src/config.rs index a6989ab..41f442d 100644 --- a/src/config.rs +++ b/src/config.rs @@ -51,7 +51,7 @@ struct ConfigToml { port: Option, release_bind: Option>, cert_path: Option, - clients: Vec, + clients: Option>, authorized_fingerprints: Option>, } @@ -370,6 +370,7 @@ impl Config { self.config_toml .as_ref() .map(|c| c.clients.clone()) + .unwrap_or_default() .into_iter() .flatten() .map(From::::from)