chore: refactor interface
This commit is contained in:
parent
8c941b201b
commit
4bdaf0d4cc
2 changed files with 10 additions and 10 deletions
|
|
@ -217,7 +217,7 @@ impl Application {
|
|||
let inner = CryptoFileSourceBuilder::default()
|
||||
.tls_cert_path(tls.tls_cert_path.as_ref().unwrap())
|
||||
.tls_cert_key_path(tls.tls_cert_key_path.as_ref().unwrap())
|
||||
.client_ca_cert_path(&tls.client_ca_cert_path)
|
||||
.client_ca_cert_path(tls.client_ca_cert_path.as_deref())
|
||||
.build()?;
|
||||
|
||||
let https_redirection = if tls.https_redirection.is_none() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue