1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

add support for heic/heif

This commit is contained in:
Fedor Katurov 2023-12-03 15:16:01 +07:00
parent 52caa2c8d2
commit da93d9380d

View file

@ -44,6 +44,8 @@ export const FILE_MIMES: Record<UploadType, string[]> = {
'image/png',
'image/svg+xml',
'image/webp',
'image/heic',
'image/heif',
],
[UploadType.Audio]: ['audio/mpeg3', 'audio/mpeg', 'audio/mp3'],
[UploadType.Other]: [],