From da93d9380d34c2f7930456e9db1d2b7f58ada25e Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Sun, 3 Dec 2023 15:16:01 +0700 Subject: [PATCH] add support for heic/heif --- src/constants/uploads/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/constants/uploads/index.ts b/src/constants/uploads/index.ts index c42a06be..6217ac5f 100644 --- a/src/constants/uploads/index.ts +++ b/src/constants/uploads/index.ts @@ -44,6 +44,8 @@ export const FILE_MIMES: Record = { 'image/png', 'image/svg+xml', 'image/webp', + 'image/heic', + 'image/heif', ], [UploadType.Audio]: ['audio/mpeg3', 'audio/mpeg', 'audio/mp3'], [UploadType.Other]: [],