chore(server): add support for .m2t (#15064)

* add m2t

* ordering
This commit is contained in:
Mert 2025-01-03 17:28:32 -05:00 committed by GitHub
parent b45ff8d09f
commit fcd372238f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 2 deletions

View file

@ -98,7 +98,21 @@ const validImages = [
'.x3f',
];
const validVideos = ['.3gp', '.avi', '.flv', '.m2ts', '.mkv', '.mov', '.mp4', '.mpg', '.mts', '.vob', '.webm', '.wmv'];
const validVideos = [
'.3gp',
'.avi',
'.flv',
'.m2t',
'.m2ts',
'.mkv',
'.mov',
'.mp4',
'.mpg',
'.mts',
'.vob',
'.webm',
'.wmv',
];
const uploadTests = [
{