Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr committed Dec 28, 2023
1 parent 3fc3f61 commit b4e7589
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ async fn main() {
eprintln!("Invalid port number: {}", port);
std::process::exit(1);
});

// Run the server with hyper on http://127.0.0.1:3000
let addr = SocketAddr::from(([127, 0, 0, 1], port));
eprintln!("Listening on http://{}", addr);
Expand All @@ -21,5 +22,5 @@ async fn main() {
}

async fn handler() -> &'static str {
"Hello, Axum 鉂わ笍 WASMER!"
return "Hello, Axum 鉂わ笍 WASMER!"
}

0 comments on commit b4e7589

Please sign in to comment.