Implement image previewing #12
@ -14,7 +14,7 @@ class ServeFileController extends AbstractController
|
||||
{
|
||||
}
|
||||
|
||||
#[Route("/serve-file/{filePath}", name: "serve_file")]
|
||||
#[Route("/serve/{filePath}", name: "serve_file")]
|
||||
jank1619 marked this conversation as resolved
Outdated
|
||||
public function __invoke(string $filePath): BinaryFileResponse
|
||||
{
|
||||
$file = $this->fileSystemService->getFile($filePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user
can you change route to /serve/filepath