diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index fec33faa..59abc8b9 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -104,7 +104,7 @@ export const uniqueId = (len: number = 10): string => { export const getMimetype = async(file: Uint8Array | Buffer, name?: string): Promise => { let type = await fromBuffer(file); - const excludedMimetypes = ['text/plain', 'application/octet-stream', 'application/x-ms', 'application/x-msi', 'application/zip']; + const excludedMimetypes = ['text/plain', 'application/x-ms', 'application/x-msi', 'application/zip']; if (type && excludedMimetypes.indexOf(type.mime) === -1) { return type.mime;