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

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) {