port-80-2

This commit is contained in:
Untone 2023-10-11 23:55:14 +03:00
parent 82aee72cee
commit b3a4992936

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")? .bind("127.0.0.1:80")?
.run() .run()
.await .await
} }