Parse trailing route slash (#2896)

* Parse trailing route slash

* Fix typo
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-09-07 13:34:57 -05:00
1 parent 50a707d5b6
commit 7bb53fe835
5 files changed
+118 -41

No files matched your search

@@ -24,7 +24,7 @@ enum Route {
#[route("/")]
Home {},
#[route("/blog/:id")]
#[route("/blog/:id/")]
Blog { id: i32 },
}