port-80-2
This commit is contained in:
parent
82aee72cee
commit
b3a4992936
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user