generated from lucien/actix-react-template
Updated backend
This commit is contained in:
parent
b8fa053ca3
commit
6228e839d7
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue