minimal routing code
This commit is contained in:
parent
2d8f131b91
commit
a7d323056a
6 changed files with 151 additions and 20 deletions
|
|
@ -105,6 +105,7 @@ async fn main() -> ::anyhow::Result<()> {
|
|||
.service(controllers::route::get_route)
|
||||
.service(controllers::route::get_routes_json)
|
||||
.service(controllers::route::get_routes_html)
|
||||
.service(controllers::route::get_directions)
|
||||
.service(get_index)
|
||||
.service(actix_files::Files::new("/assets", "./assets"))
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue