From 359ffc30bad93503320c9fc391c858afe4d8b01b Mon Sep 17 00:00:00 2001 From: Mika Date: Wed, 9 Oct 2024 17:53:00 +0200 Subject: [PATCH] fix for docker this will make the backend listen to the local network too --- crates/backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/backend/src/main.rs b/crates/backend/src/main.rs index 3b7b5b7..dab6a2b 100644 --- a/crates/backend/src/main.rs +++ b/crates/backend/src/main.rs @@ -46,7 +46,7 @@ async fn main() -> std::io::Result<()> { .app_data(web::Data::new(state.clone())) .configure(config) }) - .bind(("127.0.0.1", 8080))? + .bind(("0.0.0.0", 8080))? .run() .await }