Update src/Controller/ServeFileController.php
All checks were successful
build / build (pull_request) Successful in 4m19s
All checks were successful
build / build (pull_request) Successful in 4m19s
This commit is contained in:
parent
987e49cdec
commit
d6aefc423c
@ -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
|
public function __invoke(string $filePath): BinaryFileResponse
|
||||||
{
|
{
|
||||||
$file = $this->fileSystemService->getFile($filePath);
|
$file = $this->fileSystemService->getFile($filePath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user