chore: fix clippy
This commit is contained in:
@@ -217,7 +217,7 @@ async fn main() -> tide::Result<()> {
|
||||
mode,
|
||||
account_dir,
|
||||
timeout,
|
||||
local_public_ip: local_public_ip.as_ref().map(|ip| ip.as_str()),
|
||||
local_public_ip: local_public_ip.as_deref(),
|
||||
..Default::default()
|
||||
};
|
||||
if let Err(e) = request_acme_certificate(acme_request) {
|
||||
@@ -254,7 +254,7 @@ async fn main() -> tide::Result<()> {
|
||||
mode,
|
||||
account_dir,
|
||||
timeout,
|
||||
local_public_ip: local_public_ip.as_ref().map(|ip| ip.as_str()),
|
||||
local_public_ip: local_public_ip.as_deref(),
|
||||
cert_file: Some(format!("{}/{}", item.path, CERT_NAME)),
|
||||
key_file: Some(format!("{}/{}", item.path, KEY_NAME)),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user