diff --git a/src/utils/image.js b/src/utils/image.js index 2f8074b..a878da0 100644 --- a/src/utils/image.js +++ b/src/utils/image.js @@ -134,7 +134,7 @@ export const isVideoMime = (type) => { export const isDocumentMime = (type) => { return type === 'text/plain' || type === 'application/pdf' - || type === 'application/vnd.msword' + || type === 'application/msword' || type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' || type === 'application/vnd.ms-excel' || type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'