about summary refs log tree commit diff
path: root/app/serializers/rest/instance_serializer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/rest/instance_serializer.rb')
-rw-r--r--app/serializers/rest/instance_serializer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/rest/instance_serializer.rb b/app/serializers/rest/instance_serializer.rb
index a07840f0c..41adaed80 100644
--- a/app/serializers/rest/instance_serializer.rb
+++ b/app/serializers/rest/instance_serializer.rb
@@ -56,6 +56,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
         max_characters: StatusLengthValidator::MAX_CHARS,
         max_media_attachments: 4,
         characters_reserved_per_url: StatusLengthValidator::URL_PLACEHOLDER_CHARS,
+        supported_mime_types: HtmlAwareFormatter::STATUS_MIME_TYPES,
       },
 
       media_attachments: {