- update function signatures
- add tests (doesn't verify anything, but useful to manually test something/run bits) - improve documentation
This commit is contained in:
parent
cdb0a82181
commit
52a8c48825
5 changed files with 189 additions and 65 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue