feat: support GIF format for preview images. Fixes #236

This commit is contained in:
Will Miao
2025-06-20 10:51:52 +08:00
parent 3721fe226f
commit e09c09af6f
2 changed files with 40 additions and 16 deletions

View File

@@ -18,7 +18,9 @@ PREVIEW_EXTENSIONS = [
'.png',
'.jpeg',
'.jpg',
'.mp4'
'.mp4',
'.gif',
'.webm'
]
# Card preview image width