diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-11-29 15:18:04 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-29 15:18:04 -0600 |
commit | 9d7ffb7d8673e849f04aaf3c3860e2969032e357 (patch) | |
tree | e05fe93d7a4b55056d66d175b142863d62cf4052 /config/initializers | |
parent | f18e6229b78f74c6118178e52290acf2e0316b36 (diff) |
accept mp3s that are actually videos
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/paperclip.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index 3c35f60e0..b809bad8b 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -89,4 +89,6 @@ Paperclip.options[:content_type_mappings] = { json: %w(text/plain text/html application/json application/json+ld), jsonld: %w(text/plain text/html application/json application/json+ld), csv: %w(text/plain), + mp3: %w(audio/mpeg video/mpeg audio/mp4 video/mp4 audio/mp3), + mpga: %w(audio/mpeg video/mpeg audio/mp4 video/mp4), } |