```ruby
module Paperclip
  class MediaTypeSpoofDetector
    def spoofed?
      false
    end
  end
end```

Set Paperclip S3 host based on ENV
user
```ruby
Paperclip::Attachment.default_options[:s3_host_name] = ENV.fetch("S3_HOST_NAME")

module Paperclip
  class MediaTypeSpoofDetector
    def spoofed?
      false
    end
  end
end
```
assistant