done #3
@ -235,7 +235,7 @@ class Router
|
||||
if ($controller) {
|
||||
$controller($this->request, $this->response);
|
||||
} else {
|
||||
echo "404";
|
||||
$this->response->json(["status" => "404", "message" => "Not found"], 404);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user