diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 1a3deb0..108a311 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -53,7 +53,7 @@ $app->get('/', function (Request $request, Response $response) { if (!$ok){ throw new HttpNotFoundError($request); } - return $response->withHeader('Content-type', 'application/json'); + return $response->withHeader('Content-type', 'application/json')->withStatus(200); });