From 07675fddf1e6cb80de65cf108f0720793d029655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Guillot?= Date: Wed, 24 Jul 2024 17:26:03 +0200 Subject: [PATCH] Fix: - not saving the right image path in Chapter entity --- src/Controller/MangaController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/MangaController.php b/src/Controller/MangaController.php index 29fbfe0..83382e0 100644 --- a/src/Controller/MangaController.php +++ b/src/Controller/MangaController.php @@ -304,8 +304,8 @@ class MangaController extends AbstractController fclose($tempImage); return [ - 'full' => $this->fileSystemManager->getImagePath('full') . '/' . $newFilename, - 'thumbnail' => $this->fileSystemManager->getImagePath('thumbnails') . '/' . $newFilename + 'full' => '/images/full/' . $newFilename, + 'thumbnail' => '/images/thumbnails/' . $newFilename ]; } catch (FileException $e) {