generated from lucien/actix-react-template
Merge pull request 'Updated backend' (#15) from back_end into main
Reviewed-on: #15
This commit is contained in:
commit
1d207b56a6
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue