2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Add logs for pict-rs binds

This commit is contained in:
asonix 2024-02-01 21:55:31 -06:00
parent 92fd3bf2fd
commit 3a6faef5ef

View file

@ -2013,11 +2013,15 @@ async fn launch_file_store<F: Fn(&mut web::ServiceConfig) + Send + Clone + 'stat
.with_no_client_auth()
.with_cert_resolver(rx);
tracing::info!("Staring pict-rs with TLS on {address}");
server.bind_rustls_021(address, config)?.run().await?;
handle.abort();
let _ = handle.await;
} else {
tracing::info!("Staring pict-rs on {address}");
server.bind(address)?.run().await?;
}