From ca95569485b36b625f677afe8a11be93745df21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 2 Apr 2021 18:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Route/Router.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index aa8f6737..960e5cf4 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -438,9 +438,9 @@ class Router extends HttpService implements RouterInterface foreach ($this->nodes as $node) { /** @var Node[] $node */ foreach ($node as $_node) { - if ($_node->path == '/') { - continue; - } +// if ($_node->path == '/') { +// continue; +// } $path = strtoupper($_node->method) . ' : ' . $_node->path; if (!empty($_node->childes)) { $path = $this->readByChild($_node->childes, $path);