Updated backend #15

Merged
lucien merged 1 commit from back_end into main 2024-12-06 06:00:08 +00:00

View file

@ -73,6 +73,8 @@ async fn main() -> Result<(), std::io::Error> {
.service(get_articles) .service(get_articles)
.service(api) .service(api)
.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()