Skip to content

Commit

Permalink
Merge pull request #639 from stlankes/axum
Browse files Browse the repository at this point in the history
add some debug messages
  • Loading branch information
stlankes authored Nov 11, 2024
2 parents fbf2fd4 + 95a863a commit 4a68720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/axum/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use tokio::{io, net};

#[tokio::main(flavor = "current_thread")]
async fn main() -> io::Result<()> {
println!("Testing axum...");

let app = Router::new().route("/", get(root));

let listener = net::TcpListener::bind("0.0.0.0:9975").await?;
Expand Down

0 comments on commit 4a68720

Please sign in to comment.