From 6228e839d7b2ad04200d1f5ef099e78caf7e12ed Mon Sep 17 00:00:00 2001 From: Lukian Date: Fri, 6 Dec 2024 07:00:04 +0100 Subject: [PATCH] Updated backend --- back/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/back/src/main.rs b/back/src/main.rs index 7242d32..c7312e9 100644 --- a/back/src/main.rs +++ b/back/src/main.rs @@ -73,6 +73,8 @@ async fn main() -> Result<(), std::io::Error> { .service(get_articles) .service(api) .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))? .run()