diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-03-21 23:18:57 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:21 -0500 |
commit | 3a69196c470f012a70bcedc65b41282b8576692c (patch) | |
tree | 552b79d6ffc310dd32f20478b8acaca6cf51ece3 /app/models | |
parent | f920593cd4ca21d7467e83534da2d55e0bf882db (diff) |
allow aac audio uploads
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 7383be3b2..50b885bcf 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -33,7 +33,7 @@ class MediaAttachment < ApplicationRecord IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze VIDEO_MIME_TYPES = ['video/webm', 'video/mp4', 'video/quicktime'].freeze VIDEO_CONVERTIBLE_MIME_TYPES = ['video/webm', 'video/quicktime'].freeze - AUDIO_MIME_TYPES = ['audio/mpeg', 'audio/mp4', 'audio/vnd.wav', 'audio/wav', 'audio/x-wav', 'audio/x-wave', 'audio/ogg',].freeze + AUDIO_MIME_TYPES = ['audio/mpeg', 'audio/mp4', 'audio/vnd.wav', 'audio/wav', 'audio/x-wav', 'audio/x-wave', 'audio/ogg', 'audio/aac',].freeze BLURHASH_OPTIONS = { x_comp: 4, |