Enable some extra mime types

pull/37/head
Varun Patil 2022-08-20 00:20:55 +00:00
parent 6b8f53e89b
commit ba67062a45
1 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,8 @@ class Application extends App implements IBootstrap {
'image/png',
'image/jpeg',
'image/heic',
'image/png',
'image/tiff',
// 'image/gif', // too rarely used for photos
// 'image/x-xbitmap', // too rarely used for photos
// 'image/bmp', // too rarely used for photos
@ -51,13 +53,13 @@ class Application extends App implements IBootstrap {
];
public const VIDEO_MIMES = [
// 'video/mpeg', // too rarely used for photos
'video/mpeg',
// 'video/ogg', // too rarely used for photos
// 'video/webm', // too rarely used for photos
'video/mp4',
// 'video/x-m4v', // too rarely used for photos
'video/quicktime',
// 'video/x-matroska' // too rarely used for photos
'video/x-matroska',
];
public function __construct() {