This commit is contained in:
2021-08-05 14:14:08 +08:00
parent 93f4941821
commit 6e968a6fbd
-1
View File
@@ -413,7 +413,6 @@ class Router extends HttpService implements RouterInterface
$parent = $this->nodes[$method]['/'];
while ($value = array_shift($explode)) {
$node = $parent->findNode($value);
var_dump($node);
if (!$node) {
throw new RequestException('<h2>HTTP 404 Not Found</h2><hr><i>Powered by Swoole</i>', 404);
}