diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 81c4427..b65a58b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,8 +39,11 @@ async fn main() { .route("/posts/:post_id", get(handlers::post_handler)) .with_state(posts) .route("/policies", get(handlers::policies_handler)) + .route("/policies/", get(handlers::policies_handler)) .route("/brochure", get(handlers::brochure_handler)) + .route("/brochure/", get(handlers::brochure_handler)) .route("/about", get(handlers::about_handler)) + .route("/about/", get(handlers::about_handler)) .with_state(tutors) .nest_service("/assets", ServeDir::new(assets_dir)) .nest_service("/team", ServeDir::new(tutor_dir)) |