forked from projects/file-explorer
Update src/Controller/ServeFileController.php
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
|
||||
{
|
||||
$file = $this->fileSystemService->getFile($filePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user