diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 5bc576823..e97bf39d7 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -165,7 +165,7 @@ impl Opt { pub fn analytics(&self) -> bool { !self.no_analytics } - + pub fn get_ssl_config(&self) -> anyhow::Result> { if let (Some(cert_path), Some(key_path)) = (&self.ssl_cert_path, &self.ssl_key_path) { let config = rustls::ServerConfig::builder().with_safe_defaults();