This commit is contained in:
2021-04-27 17:16:50 +08:00
parent c9239177db
commit 91aa24613b
+1 -1
View File
@@ -482,7 +482,7 @@ class Router extends HttpService implements RouterInterface
*/
public function dispatch(): mixed
{
if (!($node = $this->Branch_search(\request()))) {
if (!($node = $this->find_path(\request()))) {
return send(self::NOT_FOUND);
}
send(($response = $node->dispatch()), 200);