fix for docker this will make the backend listen to the local network too

This commit is contained in:
Mika 2024-10-09 17:53:00 +02:00
parent 82c63ba222
commit 359ffc30ba

View file

@ -46,7 +46,7 @@ async fn main() -> std::io::Result<()> {
.app_data(web::Data::new(state.clone())) .app_data(web::Data::new(state.clone()))
.configure(config) .configure(config)
}) })
.bind(("127.0.0.1", 8080))? .bind(("0.0.0.0", 8080))?
.run() .run()
.await .await
} }