diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 960e5cf4..f2c41f79 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -484,9 +484,9 @@ class Router extends HttpService implements RouterInterface $newPath = []; /** @var Node $item */ foreach ($child as $item) { - if ($item->path == '/') { - continue; - } +// if ($item->path == '/') { +// continue; +// } if (!empty($item->childes)) { $newPath[] = $this->readByChild($item->childes, $paths . '/' . $item->path); } else {