Compare commits

...

2 commits

Author SHA1 Message Date
1d207b56a6 Merge pull request 'Updated backend' (#15) from back_end into main
Reviewed-on: #15
2024-12-06 06:00:07 +00:00
6228e839d7 Updated backend 2024-12-06 07:00:04 +01:00

View file

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