We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eb4f11 commit bad54dfCopy full SHA for bad54df
cli/src/commands/developer/mod.rs
@@ -198,7 +198,7 @@ impl Developer {
198
// This function is only called internally but check for additional sanity.
199
ensure!(!route.starts_with('/'), "path cannot start with a slash");
200
201
- // If the route already ends with a version segment (v1 or v2), don't prepend a version.
+ // Determine the API version we are interacting with.
202
let api_version = {
203
let r = base_url.path().trim_end_matches('/');
204
0 commit comments