mirror of
https://github.com/nicoburns/blessed-rs
synced 2024-11-25 13:10:21 +00:00
Show crates list on homepage
This commit is contained in:
parent
a09d1bde0f
commit
5e2a203f41
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ async fn main() {
|
|||
|
||||
// build our application with a route
|
||||
let app = Router::new()
|
||||
.route("/", get(routes::index))
|
||||
.route("/", get(routes::crates::list::run))
|
||||
.route("/users", post(routes::users::create::run))
|
||||
.route("/crates", get(routes::crates::list::run))
|
||||
.nest("/static", static_file_service)
|
||||
|
|
Loading…
Reference in a new issue