Merge pull request 'Updated backend' (#15) from back_end into main

Reviewed-on: #15
This commit is contained in:
lucien 2024-12-06 06:00:07 +00:00
commit 1d207b56a6

View file

@ -122,6 +122,8 @@ async fn main() -> Result<(), std::io::Error> {
.service(api) .service(api)
.service(get_article) .service(get_article)
.service(Files::new("/", "public").index_file("index.html")) .service(Files::new("/", "public").index_file("index.html"))
.service(Files::new("/game", "public").index_file("index.html"))
.service(Files::new("/chaos", "public").index_file("index.html"))
}) })
.bind(("0.0.0.0", 2486))? .bind(("0.0.0.0", 2486))?
.run() .run()