feat: Skip the md extension in the URL

This commit is contained in:
Dendy 2025-04-14 02:26:38 +02:00
parent c841c5c212
commit 6bb37a4741
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ final class MainController extends AbstractController
// ---------------------------------------------- Get file contents --- // ---------------------------------------------- Get file contents ---
$fullPath = sprintf( $fullPath = sprintf(
'%s/var/data/%s', '%s/var/data/%s.md',
$this->getParameter('kernel.project_dir'), $this->getParameter('kernel.project_dir'),
$path, $path,
); );