Actualiser back/src/main.rs

This commit is contained in:
linlkin 2024-12-06 01:50:00 +00:00
parent ac20ecc932
commit ee692fec27

View file

@ -74,7 +74,7 @@ async fn main() -> Result<(), std::io::Error> {
.service(api) .service(api)
.service(Files::new("/", "public").index_file("index.html")) .service(Files::new("/", "public").index_file("index.html"))
}) })
.bind(("0.0.0.0", 8080))? .bind(("0.0.0.0", 2486))?
.run() .run()
.await .await
} }