Fix extToMime function (#9084)

(cherry picked from commit 66526a8e10)
This commit is contained in:
Samuel Newman
2025-09-25 18:26:25 +03:00
committed by Eric Bailey
parent 70ec4767a5
commit b40e5ec815
+1 -1
View File
@@ -40,7 +40,7 @@ export function mimeToExt(mimeType: SupportedMimeTypes | (string & {})) {
}
export function extToMime(ext: string) {
switch (ext) {
switch (ext.toLowerCase()) {
case 'mp4':
return 'video/mp4'
case 'webm':