forked from Zynh0722/nyazoom
move logging for clarity
parent
7444fc4f9b
commit
772bda8e93
|
@ -87,7 +87,6 @@ async fn main() -> io::Result<()> {
|
|||
|
||||
// Server creation
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
tracing::debug!("listening on http://{}/", addr);
|
||||
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
|
||||
axum::serve(
|
||||
listener,
|
||||
|
@ -96,6 +95,8 @@ async fn main() -> io::Result<()> {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
tracing::debug!("listening on http://{}/", addr);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue