-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
With axum before 0.8 I was using this:
Router::new().route(
&format!("{}/*value", conf.API_PREFIX),
get(something),
);Now it says me:
Path segments must not start with `*`.
For wildcard capture, use `{*wildcard}`.
If you meant to literally match a segment starting with an asterisk, call `without_v07_checks` on the router.
What does it mean?
Where should I write {*wildcard}?
I opened an issue because I think we should update docs and errors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels