We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61f0c4 commit 16a26a0Copy full SHA for 16a26a0
addon/services/alexandria-documents.js
@@ -64,7 +64,7 @@ export default class AlexandriaDocumentsService extends Service {
64
if (
65
category.allowedMimeTypes &&
66
!category.allowedMimeTypes.includes(
67
- file.type || mime.getType(file.name.split(".").pop()),
+ file.type || mime.getType(file.name),
68
)
69
) {
70
return this.notification.danger(
0 commit comments