This commit is contained in:
2020-10-20 16:16:24 +08:00
parent 117a04f8a1
commit 7badc06055
+1 -1
View File
@@ -477,7 +477,7 @@ class Router extends Application implements RouterInterface
{
try {
if ($this->reading) {
return send(self::NOT_FOUND, 404);
return send(self::NOT_FOUND, 502);
}
/** @var Node $node */
if (!($node = $this->find_path(\request()))) {