Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mounting dynamic routes. FIxes #250 #288

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
update docstring
  • Loading branch information
davidmartos96 committed Sep 15, 2022
commit d1db0742cf556aee5eeb7c18525504e19c32c379
4 changes: 2 additions & 2 deletions pkgs/shelf_router/lib/src/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ class Router {
]) as Response;
}

/// Removes the "rest path" from the requested url in mounted routes. This
/// new path is then used to update the scope of the mounted handler with
/// Removes the "rest path" from the requested [urlPath] in mounted routes.
/// This new path is then used to update the scope of the mounted handler with
/// [Request.change]
String _getEffectiveMountPath(
String urlPath,
Expand Down