Add redis to dockerfile.

This commit is contained in:
Patrick Fic
2024-09-06 16:16:47 -07:00
parent 163241d1cd
commit 614d62fc9c
6 changed files with 44 additions and 28 deletions

View File

@@ -43,6 +43,8 @@ export default async function GenerateThumbnail(
await simpleThumb(file, thumbPath, "250x?", {
// path: ffmpeg,
});
} else if (type?.mime === "image/heic" || type?.mime === "image/heif") {
await GeneratePdfThumbnail(file, thumbPath);
} else {
logger.debug("Thumbnail being created for : " + thumbPath);
//Ignoring typescript as the interface is lacking a parameter.