bug: Thumbs are stored as webp and not as png anymore
This commit is contained in:
parent
e6c3327b9c
commit
d2efb2707c
|
@ -83,7 +83,7 @@ class ThumbUtil {
|
|||
const isImage = ThumbUtil.imageExtensions.includes(ext);
|
||||
const isVideo = ThumbUtil.videoExtensions.includes(ext);
|
||||
|
||||
if (isImage) return { thumb: `${filename.slice(0, -ext.length)}.png` };
|
||||
if (isImage) return { thumb: `${filename.slice(0, -ext.length)}.webp` };
|
||||
if (isVideo) {
|
||||
return {
|
||||
thumb: `${filename.slice(0, -ext.length)}.png`,
|
||||
|
|
Loading…
Reference in New Issue