|
@@ -7,10 +7,10 @@ export enum MetaType {
|
|
|
}
|
|
|
|
|
|
export const metaTypeExtnames = {
|
|
|
- [MetaType.image]: ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'gif', 'pcx', 'tga', 'exif', 'fpx', 'svg', 'psd', 'cdr', 'pcd', 'dxf', 'ufo', 'eps', 'ai', 'raw', 'WMF', 'webp', 'avif', 'apng'],
|
|
|
+ [MetaType.image]: ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'gif', 'pcx', 'tga', 'exif', 'fpx', 'svg', 'psd', 'cdr', 'pcd', 'dxf', 'ufo', 'eps', 'ai', 'WMF', 'webp', 'avif', 'apng'],
|
|
|
[MetaType.audio]: ['mp3'],
|
|
|
[MetaType.video]: ['wmv', 'asf', 'asx', 'rm', 'rmvb', 'mp4', '3gp', 'mov', 'm4v', 'avi', 'dat', 'mkv', 'flv', 'vob'],
|
|
|
- [MetaType.xfile]: [".raw", ".dcm"]
|
|
|
+ [MetaType.xfile]: [".raw", "raw", "dcm", ".dcm"]
|
|
|
}
|
|
|
|
|
|
export const getExtname = (url: string) => {
|