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 1a7d4dc commit c1d4d07Copy full SHA for c1d4d07
pkgs/shelf_router/lib/src/router.dart
@@ -205,7 +205,7 @@ class Router {
205
206
if (prefix.endsWith('/')) {
207
_all(
208
- prefix + '<$restPathParam|[^]*>',
+ '$prefix<$restPathParam|[^]*>',
209
(Request request, RouterEntry route) {
210
// Remove path param from extracted route params
211
final paramsList = [...route.params]..removeLast();
@@ -222,7 +222,7 @@ class Router {
222
applyParamsOnHandle: false,
223
);
224
225
- prefix + '/<$restPathParam|[^]*>',
+ '$prefix/<$restPathParam|[^]*>',
226
227
228
0 commit comments