misc improvements, improve documentation, switch numeric IDs to ints, and add search() stub
This commit is contained in:
parent
6fb454fcea
commit
bf0c84f126
6 changed files with 144 additions and 50 deletions
|
@ -30,7 +30,7 @@ pub async fn run(conf: data::Config) -> Result<bool, rocket::Error> {
|
|||
api::CONFIG = Some(conf);
|
||||
}
|
||||
match rocket::build()
|
||||
.mount("/", rocket::routes![api::caps])
|
||||
.mount("/", rocket::routes![api::caps, api::search])
|
||||
.launch()
|
||||
.await
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue