summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2025-05-27 19:00:15 -0400
committerAdam T. Carpenter <atc@53hor.net>2025-05-27 19:00:15 -0400
commita88257e90beaaebbf7ebaca57cc871fceb93fda9 (patch)
tree6259d02103a7264b10a5e7c87c568071eb9c1d9e /src/main.rs
parent130bceda109ce9c000779373ea1fc8b27079c8e5 (diff)
downloadcarpentertutoring-a88257e90beaaebbf7ebaca57cc871fceb93fda9.tar.xz
carpentertutoring-a88257e90beaaebbf7ebaca57cc871fceb93fda9.zip
chore: bump axum and askama
Fix breaking changes in markdown and templating
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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))