Merge pull request 'web route health update' (#3) from dev into test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
This commit is contained in:
@@ -65,6 +65,13 @@ $router->get('/bulut/test', function () {
|
|||||||
|
|
||||||
$router->post('test', ['as' => 'Test', 'uses' => 'TestController@test']);
|
$router->post('test', ['as' => 'Test', 'uses' => 'TestController@test']);
|
||||||
|
|
||||||
|
$router->get('/health', function () {
|
||||||
|
return response()->json([
|
||||||
|
'status' => 'ok',
|
||||||
|
'service' => 'api-extranetwork',
|
||||||
|
'time' => date('Y-m-d H:i:s'),
|
||||||
|
]);
|
||||||
|
});
|
||||||
|
|
||||||
// Swagger / OpenAPI docs (public)
|
// Swagger / OpenAPI docs (public)
|
||||||
$router->get('docs', function () {
|
$router->get('docs', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user