Listen on 0.0.0.0

This commit is contained in:
MTRNord 2022-10-10 21:58:20 +02:00
parent f08a88cce2
commit da021d7650
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ async fn main() -> Result<()> {
.route("/submit", post(submit))
.route("/submit_review", post(submit_for_review));
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
info!("listening on {}", addr);
axum::Server::bind(&addr)
.serve(app.into_make_service())