This commit is contained in:
2021-10-26 10:25:36 +08:00
parent 3d92d3b07f
commit 8a45ffac0e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class Server implements OnRequestInterface
$PsrResponse = $this->exceptionHandler->emit($throwable, $this->response);
} finally {
$this->responseEmitter->sender($response, $PsrResponse);
$this->eventDispatch->dispatch(new OnAfterRequest());
// $this->eventDispatch->dispatch(new OnAfterRequest());
}
}
+1 -1
View File
@@ -15,7 +15,7 @@ use Kiri\Abstracts\Component;
use Kiri\Core\Json;
use Kiri\Events\EventDispatch;
use Kiri\Kiri;
use Server\Events\OnAfterRequest;
use Http\Events\OnAfterRequest;
/**
* Class ErrorHandler