generated from lucien/actix-react-template
Compare commits
2 commits
75c29c719a
...
1d207b56a6
Author | SHA1 | Date | |
---|---|---|---|
1d207b56a6 | |||
6228e839d7 |
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