modify
This commit is contained in:
@@ -98,7 +98,9 @@ class HTTPServerListener extends Abstracts\Server
|
|||||||
try {
|
try {
|
||||||
Context::setContext(Response::class, $response);
|
Context::setContext(Response::class, $response);
|
||||||
|
|
||||||
$result = $this->router->dispatch(HSRequest::create($request));
|
$this->response->send('ok');
|
||||||
|
|
||||||
|
// $result = $this->router->dispatch(HSRequest::create($request));
|
||||||
} catch (Error | Throwable $exception) {
|
} catch (Error | Throwable $exception) {
|
||||||
$result = $this->router->exception($exception);
|
$result = $this->router->exception($exception);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user