about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--config/initializers/paperclip.rb2
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),
 }