style: sort extension names in home.js

This commit is contained in:
Bobby Wibowo 2021-02-01 05:20:47 +07:00
parent c921db7ee2
commit 37076049e1
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -55,8 +55,8 @@ const page = {
// Include BMP for uploads preview only, cause the real images will be used
// Sharp isn't capable of making their thumbnails for dashboard and album public pages
imageExts: ['.webp', '.jpg', '.jpeg', '.bmp', '.gif', '.png', '.tiff', '.tif', '.svg'],
videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'],
imageExts: ['.gif', '.jpeg', '.jpg', '.png', '.svg', '.tif', '.tiff', '.webp', '.bmp'],
videoExts: ['.avi', '.m2ts', '.m4v', '.mkv', '.mov', '.mp4', '.webm', '.wmv'],
albumTitleMaxLength: 70,
albumDescMaxLength: 4000