boatshouse functionality, fixes #183
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m13s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2024-03-08 13:13:20 +01:00
parent 7e6b577315
commit 3deb1e40fc
10 changed files with 292 additions and 0 deletions

View File

@ -21,6 +21,7 @@ use crate::model::user::{User, UserWithRoles};
pub(crate) mod admin;
mod auth;
pub(crate) mod board;
mod boatdamage;
mod cox;
mod ergo;
@ -89,6 +90,7 @@ pub fn config(rocket: Rocket<Build>) -> Rocket<Build> {
.mount("/boatdamage", boatdamage::routes())
.mount("/cox", cox::routes())
.mount("/admin", admin::routes())
.mount("/board", board::routes())
.mount("/", misc::routes())
.mount("/public", FileServer::from("static/"))
.register("/", catchers![unauthorized_error, forbidden_error])