This commit is contained in:
2021-07-27 16:41:51 +08:00
parent 1991550f49
commit d556fb11c4
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -103,9 +103,6 @@ class HTTPServerListener extends Abstracts\Server
{
[$sRequest, $sResponse] = [HRequest::create($request), HResponse::create($response)];
try {
$sResponse->send('1');
return;
$node = $this->router->find_path($sRequest);
if (empty($node)) {
$sResponse->send('404', 404);