Implement image previewing #12

Merged
csimonis merged 7 commits from jank1619/file-explorer:feature/file-previews into main 2024-12-21 18:12:14 +00:00
Showing only changes of commit d6aefc423c - Show all commits

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 public function __invoke(string $filePath): BinaryFileResponse
{ {
$file = $this->fileSystemService->getFile($filePath); $file = $this->fileSystemService->getFile($filePath);