feat: in main rs 0.0.0.0:8080

This commit is contained in:
Stepan Vladovskiy 2023-10-12 09:02:47 -03:00
parent 040f1ed189
commit f8c5d65e03

View File

@ -131,7 +131,7 @@ async fn main() -> std::io::Result<()> {
.app_data(web::Data::new(state.clone())) .app_data(web::Data::new(state.clone()))
.route("/", web::get().to(connect_handler)) .route("/", web::get().to(connect_handler))
}) })
.bind("127.0.0.1:8080")? .bind("0.0.0.0:8080")?
.run() .run()
.await .await
} }