mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add basic auth support to get Cardlife working in non-offline mode
This commit is contained in:
commit
fe2816e9d3
13 files changed
+3714
No files matched your search
@@ -0,0 +1,14 @@
|
||||
mod cardlife;
|
||||
|
||||
#[rocket::get("/")]
|
||||
fn index() -> &'static str {
|
||||
"Hello, world!"
|
||||
}
|
||||
|
||||
#[rocket::launch]
|
||||
fn rocket() -> _ {
|
||||
env_logger::init();
|
||||
rocket::build().mount("/", rocket::routes![index])
|
||||
.attach(cardlife::stage())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user