add first draft of cal

This commit is contained in:
2023-05-24 15:09:38 +02:00
parent 6b0c2059a4
commit aa2d5bc7dd
3 changed files with 50 additions and 3 deletions

View File

@ -21,6 +21,7 @@ use crate::model::{
mod admin;
mod auth;
mod cal;
mod cox;
mod faq;
@ -143,6 +144,7 @@ pub fn start(db: SqlitePool) -> Rocket<Build> {
.mount("/cox", cox::routes())
.mount("/admin", admin::routes())
.mount("/faq", faq::routes())
.mount("/cal", cal::routes())
.mount("/public", FileServer::from("static/"))
.register("/", catchers![unauthorized_error])
.attach(Template::fairing())