Fixed animated poster being overwritten as jpeg.

This commit is contained in:
DebaucheryLibrarian 2021-03-26 01:47:40 +01:00
parent d0648b5006
commit 3961f83ef6
1 changed files with 2 additions and 0 deletions

View File

@ -339,6 +339,8 @@ async function writeImage(image, media, info, filepath, isProcessed) {
await image
.webp()
.toFile(path.join(config.media.path, filepath));
return;
}
if (isProcessed) {