Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
intrn(server): allow all MIME types
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Oct 13, 2022
1 parent 52591a6 commit 8879365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/chat_message/create_with_file.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class extends CreateRoute {
"fileContents": {
"constraints": {
"buffer": {
"allowedMimeTypes": [ "text/plain", "image/png" ],
"allowedMimeTypes": [ "*/*" ],
"maximumSize": MAXIMUM_FILE_SIZE,
"minimumSize": MINIMUM_FILE_SIZE
}
Expand Down

0 comments on commit 8879365

Please sign in to comment.