This commit is contained in:
2021-04-23 14:41:24 +08:00
parent 0376fbd7c7
commit d05c66dace
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -545,7 +545,8 @@ class Router extends HttpService implements RouterInterface
if (!($node = $this->find_path(\request()))) {
return send(self::NOT_FOUND);
}
send($response = $node->dispatch(), 200);
$response = $node->dispatch();
send($response, 200);
if (!$node->hasAfter()) {
return null;
}