feat: add index route
This commit is contained in:
parent
0bb159deea
commit
a62b5e333c
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class HealthcheckController
|
||||||
|
{
|
||||||
|
#[Route('/', name: 'healthcheck')]
|
||||||
|
public function healthcheck(): Response
|
||||||
|
{
|
||||||
|
return new Response("ok");
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue