Updated backend

This commit is contained in:
Lukian 2024-12-06 07:00:04 +01:00
parent b8fa053ca3
commit 6228e839d7

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()