tweb/src/environment/mediaMimeTypesSupport.ts

9 lines
312 B
TypeScript
Raw Permalink Normal View History

2022-08-04 08:49:54 +02:00
import IMAGE_MIME_TYPES_SUPPORTED from './imageMimeTypesSupport';
import VIDEO_MIME_TYPES_SUPPORTED from './videoMimeTypesSupport';
2021-10-27 17:41:23 +02:00
const arr = [...IMAGE_MIME_TYPES_SUPPORTED].concat([...VIDEO_MIME_TYPES_SUPPORTED]);
2021-10-27 17:41:23 +02:00
const MEDIA_MIME_TYPES_SUPPORTED = new Set(arr);
export default MEDIA_MIME_TYPES_SUPPORTED;