Add basic auth support to get Cardlife working in non-offline mode

This commit is contained in:
NGnius (Graham) committed 2025-01-25 17:44:26 -05:00
commit fe2816e9d3
13 files changed
+3714

No files matched your search

+14
View File
@@ -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())
}