feat: Add root endpoint pointing to index
This commit is contained in:
parent
5ae258317d
commit
6adcf4bd55
|
@ -12,6 +12,12 @@ use Symfony\Component\Routing\Attribute\Route;
|
|||
|
||||
final class MainController extends AbstractController
|
||||
{
|
||||
#[Route('/', 'app_root')]
|
||||
public function root(): Response
|
||||
{
|
||||
return $this->index('index.md');
|
||||
}
|
||||
|
||||
#[Route('/sync', 'app_sync')]
|
||||
public function sync(): Response
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue