fix(server): display insta-360 (#3688)

This commit is contained in:
Jason Rasmussen
2023-08-14 23:14:52 -04:00
committed by GitHub
parent f1b8a7ab54
commit 7ca6f80ed2
2 changed files with 5 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ const image: Record<string, string[]> = {
'.heic': ['image/heic'],
'.heif': ['image/heif'],
'.iiq': ['image/iiq', 'image/x-phaseone-iiq'],
'.insp': ['image/jpeg'],
'.jpeg': ['image/jpeg'],
'.jpg': ['image/jpeg'],
'.jxl': ['image/jxl'],
@@ -79,6 +80,7 @@ const video: Record<string, string[]> = {
'.3gp': ['video/3gpp'],
'.avi': ['video/avi', 'video/msvideo', 'video/vnd.avi', 'video/x-msvideo'],
'.flv': ['video/x-flv'],
'.insv': ['video/mp4'],
'.m2ts': ['video/mp2t'],
'.mkv': ['video/x-matroska'],
'.mov': ['video/quicktime'],