Skip to content

Commit

Permalink
Update media_type_spoof_detector_extensions.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby authored Sep 22, 2023
1 parent f376c10 commit 21ad58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip/media_type_spoof_detector_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Paperclip
module MediaTypeSpoofDetectorExtensions
MARCEL_MIME_TYPES = %w(audio/mpeg image/avif).freeze
MARCEL_MIME_TYPES = %w(audio/mpeg image/avif image/jxl).freeze

def calculated_content_type
return @calculated_content_type if defined?(@calculated_content_type)
Expand Down

0 comments on commit 21ad58f

Please sign in to comment.