accept mp3s that are actually videos

master
multiple creatures 2019-11-29 15:18:04 -06:00
parent f18e6229b7
commit 9d7ffb7d86
1 changed files with 2 additions and 0 deletions

View File

@ -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),
}