From 9d7ffb7d8673e849f04aaf3c3860e2969032e357 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 29 Nov 2019 15:18:04 -0600 Subject: accept mp3s that are actually videos --- config/initializers/paperclip.rb | 2 ++ 1 file changed, 2 insertions(+) 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), } -- cgit