This commit is contained in:
parent
e496324049
commit
2329b80ed8
8 changed files with 1113 additions and 8 deletions
|
@ -18,7 +18,7 @@ async fn main() {
|
|||
.with_state(state);
|
||||
|
||||
// run it
|
||||
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
println!("listening on {}", addr);
|
||||
axum::Server::bind(&addr)
|
||||
.serve(app.into_make_service())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue