only listen locally

This commit is contained in:
Martin Brodbeck 2023-09-26 22:04:01 +02:00
parent 99a4c4800e
commit 65b92f8532

View file

@ -49,7 +49,7 @@ async fn main() {
.route("/healthcheck", get(healthcheck)); .route("/healthcheck", get(healthcheck));
// run it with hyper on localhost:3000 // run it with hyper on localhost:3000
axum::Server::bind(&"0.0.0.0:3003".parse().unwrap()) axum::Server::bind(&"127.0.0.1:3003".parse().unwrap())
.serve(app.into_make_service()) .serve(app.into_make_service())
.await .await
.unwrap(); .unwrap();