From a88257e90beaaebbf7ebaca57cc871fceb93fda9 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 27 May 2025 19:00:15 -0400 Subject: chore: bump axum and askama Fix breaking changes in markdown and templating --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 13e6229..1a495f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ async fn main() { let app = Router::new() .route("/", get(handlers::index_handler)) .route("/posts", get(handlers::posts_handler)) - .route("/posts/:post_id", get(handlers::post_handler)) + .route("/posts/{post_id}", get(handlers::post_handler)) .with_state(posts) .route("/policies", get(handlers::policies_handler)) .route("/brochure", get(handlers::brochure_handler)) -- cgit v1.2.3