feat: Add root endpoint pointing to index

This commit is contained in:
Dendy 2025-04-14 02:48:45 +02:00
parent 5ae258317d
commit 6adcf4bd55
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@ use Symfony\Component\Routing\Attribute\Route;
final class MainController extends AbstractController final class MainController extends AbstractController
{ {
#[Route('/', 'app_root')]
public function root(): Response
{
return $this->index('index.md');
}
#[Route('/sync', 'app_sync')] #[Route('/sync', 'app_sync')]
public function sync(): Response public function sync(): Response
{ {