eee
This commit is contained in:
@@ -16,7 +16,8 @@ class NotFoundController extends Controller
|
|||||||
public function fail(): ResponseInterface
|
public function fail(): ResponseInterface
|
||||||
{
|
{
|
||||||
if ($this->request->getMethod() == 'OPTIONS') {
|
if ($this->request->getMethod() == 'OPTIONS') {
|
||||||
return $this->response->withStatus(200, "");
|
var_dump($this->response);
|
||||||
|
return $this->response->html('');
|
||||||
} else {
|
} else {
|
||||||
return $this->response->withStatus(404, "not found page.");
|
return $this->response->withStatus(404, "not found page.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user