mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 01:55:27 +03:00
15 lines
338 B
PHP
15 lines
338 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
class HealthAction implements ActionInterface
|
|
{
|
|
public function execute(array $request)
|
|
{
|
|
$response = [
|
|
'code' => 200,
|
|
'message' => 'all is good',
|
|
];
|
|
return new Response(Json::encode($response), 200, ['content-type' => 'application/json']);
|
|
}
|
|
}
|