Skip to content

Commit

Permalink
Fix liveness for v4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Jun 13, 2022
1 parent f8f36de commit 6b1da9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion routes/other.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@
});

$app->get('/liveness', function ($request, $response) {
return $response->withJson('OK', 200);
$response->getBody()->write(json_encode('OK'));
$response->withStatus(200);

return $response;
});

$app->get('/arabic-font-edition-tester', function ($request, $response, $args) {
Expand Down

0 comments on commit 6b1da9b

Please sign in to comment.