This commit is contained in:
2020-09-08 13:58:22 +08:00
parent ff3b50f61a
commit ae687d4ba9
2 changed files with 4 additions and 3 deletions
-3
View File
@@ -417,9 +417,6 @@ class Router extends Application implements RouterInterface
if (!($node = $this->find_path($request))) {
return JSON::to(404, 'Page not found or method not allowed.');
}
if (empty($node->callback)) {
return JSON::to(404, 'Page not found.');
}
return $node->dispatch();
}