Skip to content

Commit

Permalink
fix(volo-grpc): update Router with new parameter syntax since matchit…
Browse files Browse the repository at this point in the history
… v0.8.0 (#393)

fix(volo-grpc):  update Router with new parameter syntax since matchit v0.8.0
  • Loading branch information
zzzdong authored Apr 1, 2024
1 parent 99a6fdd commit d1ad9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volo-grpc/src/server/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ where
+ Sync
+ 'static,
{
let path = format!("/{}/*rest", S::NAME);
let path = format!("/{}/{{*rest}}", S::NAME);

if path.is_empty() {
panic!("[VOLO] Paths must start with a `/`. Use \"/\" for root routes");
Expand Down

0 comments on commit d1ad9b6

Please sign in to comment.