[GIT-45] fix: allow markdown file attachments (#8524)

* fix: allow markdown file attachments

- Add text/markdown to ATTACHMENT_MIME_TYPES
- Fixes issue where .md files were rejected with 'Invalid file type' error

* added the support for frontend mime type too
This commit is contained in:
punto 2026-01-23 13:38:47 +05:30 committed by GitHub
parent db8b67102d
commit 57806f9bd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -26,6 +26,7 @@ export const ACCEPTED_ATTACHMENT_MIME_TYPES = [
"application/vnd.ms-powerpoint",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"text/plain",
"text/markdown",
"application/rtf",
"audio/mpeg",
"audio/wav",