eee
This commit is contained in:
@@ -44,8 +44,6 @@ abstract class AbstractHandler
|
||||
|
||||
$middleware = $this->middlewares[$this->offset];
|
||||
$this->offset += 1;
|
||||
|
||||
var_dump($this->handler);
|
||||
|
||||
return $middleware->process($request, $this);
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ class NotFoundController extends Controller
|
||||
*/
|
||||
public function fail(): ResponseInterface
|
||||
{
|
||||
var_dump($this->request);
|
||||
if ($this->request->getMethod() == 'OPTIONS') {
|
||||
var_dump($this->response);
|
||||
return $this->response->html('');
|
||||
} else {
|
||||
return $this->response->withStatus(404, "not found page.");
|
||||
|
||||
Reference in New Issue
Block a user