This commit is contained in:
2025-12-30 21:49:20 +08:00
parent 3a41eaa95c
commit f4430e2dd0
+1
View File
@@ -16,6 +16,7 @@ class NotFoundController extends Controller
public function fail(): ResponseInterface public function fail(): ResponseInterface
{ {
var_dump($this->request->getMethod()); var_dump($this->request->getMethod());
var_dump($this->response);
if ($this->request->getMethod() == 'OPTIONS') { if ($this->request->getMethod() == 'OPTIONS') {
return $this->response->html(''); return $this->response->html('');
} else { } else {