module Paperclip
  class MediaTypeSpoofDetector
    def spoofed?
      false
    end
  end
end
Paperclip::Attachment.default_options[:s3_host_name] = ENV.fetch("S3_HOST_NAME")

module Paperclip
  class MediaTypeSpoofDetector
    def spoofed?
      false
    end
  end
end

Set Paperclip S3 host based on ENV
Set Paperclip S3 host based on ENV
