1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-16 03:40:33 +02:00

fix(server): add missing avi mime types and add tests (#3001)

See https://github.com/immich-app/immich/pull/2952#pullrequestreview-1497194041

Fixes: #2975
This commit is contained in:
Thomas
2023-06-28 15:21:42 +01:00
committed by GitHub
parent e98398cab8
commit 792ecc6cac
5 changed files with 83 additions and 87 deletions

View File

@ -130,7 +130,7 @@ export function getFileMimeType(file: File): string {
'3gp': 'video/3gpp',
ari: 'image/x-arriflex-ari',
arw: 'image/x-sony-arw',
avi: 'video/x-msvideo',
avi: 'video/avi',
avif: 'image/avif',
cap: 'image/x-phaseone-cap',
cin: 'image/x-phantom-cin',