13 lines
281 B
Rust
13 lines
281 B
Rust
|
mod routes;
|
||
|
mod states;
|
||
|
|
||
|
use rocket_dyn_templates::Template;
|
||
|
|
||
|
#[rocket::launch]
|
||
|
fn rocket() -> _ {
|
||
|
rocket::build()
|
||
|
.mount("/", rocket::routes![routes::index, routes::submit])
|
||
|
.manage(states::SharedCaptchaSolutions::new())
|
||
|
.attach(Template::fairing())
|
||
|
}
|