From a11e6a3eeed1eb02638043ba803165e5717743d5 Mon Sep 17 00:00:00 2001 From: whwyy Date: Tue, 30 Dec 2025 21:39:18 +0800 Subject: [PATCH] eee --- src/Base/NotFoundController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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."); }