done #3

Merged
PBS2H21ASH merged 19 commits from done into don 2023-01-24 20:11:21 +01:00
Showing only changes of commit 1034dd30f9 - Show all commits

View File

@ -235,7 +235,7 @@ class Router
if ($controller) { if ($controller) {
$controller($this->request, $this->response); $controller($this->request, $this->response);
} else { } else {
echo "404"; $this->response->json(["status" => "404", "message" => "Not found"], 404);
} }
} }
} }