- update function signatures

- add tests (doesn't verify anything, but useful to manually test something/run bits)
- improve documentation
This commit is contained in:
askiiart 2024-11-24 23:09:31 -06:00
parent cdb0a82181
commit 52a8c48825
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
5 changed files with 189 additions and 65 deletions

View file

@ -23,10 +23,8 @@ pub mod data;
use rocket::{self};
/// Runs the server
pub fn run(conf: data::Config, caps: data::Caps) -> Result<bool, String> {
/// Runs the server
//rocket::build()
// .mount("/", rocket::routes![conf.caps])
// .launch();
rocket::build().mount("/", rocket::routes![]).launch();
return Ok(true);
}