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
  • Loading branch information
zzzdong authored and PureWhiteWu committed Mar 29, 2024
1 parent 99a6fdd commit 94dd13d
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 94dd13d

Please sign in to comment.