This commit is contained in:
2025-12-30 21:39:18 +08:00
parent dfa50c9448
commit a11e6a3eee
+2 -1
View File
@@ -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.");
}