misc improvements, improve documentation, switch numeric IDs to ints, and add search() stub

This commit is contained in:
askiiart 2024-11-27 21:49:15 -06:00
parent 6fb454fcea
commit bf0c84f126
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
6 changed files with 144 additions and 50 deletions

View file

@ -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
{