eee
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user