Update src/Controller/ServeFileController.php

This commit is contained in:
We ball 2024-12-21 17:37:05 +00:00
parent 987e49cdec
commit d6aefc423c

View File

@ -14,7 +14,7 @@ class ServeFileController extends AbstractController
{
}
#[Route("/serve-file/{filePath}", name: "serve_file")]
#[Route("/serve/{filePath}", name: "serve_file")]
public function __invoke(string $filePath): BinaryFileResponse
{
$file = $this->fileSystemService->getFile($filePath);