From b800ffa1b8a591dd8380a60a585593ec5cc74b87 Mon Sep 17 00:00:00 2001 From: sethk4783 Date: Thu, 13 Jun 2024 16:18:48 +0530 Subject: [PATCH] fix:Updated mimetype and extension --- src/lib/utils/extensions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/utils/extensions.ts b/src/lib/utils/extensions.ts index 60c06155..1e7cb119 100644 --- a/src/lib/utils/extensions.ts +++ b/src/lib/utils/extensions.ts @@ -219,6 +219,7 @@ export const ExtensionsMap = { 'image/jls': ['jls'], 'image/jp2': ['jp2', 'jpg2'], 'image/jpeg': ['jpeg', 'jpg', 'jpe'], + 'image/jpg': ['jpeg', 'jpg', 'jpe'], 'image/jpm': ['jpm'], 'image/jpx': ['jpx', 'jpf'], 'image/jxr': ['jxr'], @@ -930,6 +931,8 @@ export const ExtensionsMap = { 'video/x-ms-wmx': ['wmx'], 'video/x-ms-wvx': ['wvx'], 'video/vnd.avi': ['avi'], + 'video/x-msvideo': ['avi'], + 'video/avi': ['avi'], 'video/x-sgi-movie': ['movie'], 'video/x-smv': ['smv'], 'x-conference/x-cooltalk': ['ice'],