Add redis to dockerfile.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user