diff --git a/src/Base/NotFoundController.php b/src/Base/NotFoundController.php index 183f0f0..6bc93b0 100644 --- a/src/Base/NotFoundController.php +++ b/src/Base/NotFoundController.php @@ -16,7 +16,8 @@ class NotFoundController extends Controller public function fail(): ResponseInterface { if ($this->request->getMethod() == 'OPTIONS') { - return $this->response->withStatus(200, ""); + var_dump($this->response); + return $this->response->html(''); } else { return $this->response->withStatus(404, "not found page."); }