diff --git a/src/Router/Routes.php b/src/Router/Routes.php index 9dda8b9..da0a191 100644 --- a/src/Router/Routes.php +++ b/src/Router/Routes.php @@ -74,6 +74,6 @@ abstract class Routes */ public function match(ServerRequestInterface $request): RouteMatch { - return $this->tree->match($this->splitUri($request->getUri()), $request); + return $this->tree->match($this->splitUri($request->getUri()->getPath()), $request); } }