Fixed animated poster being overwritten as jpeg.
This commit is contained in:
parent
d0648b5006
commit
3961f83ef6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue