v4.0.0rc4-branch #5

Merged
asonix merged 40 commits from v4.0.0rc4-branch into asonix/changes 2022-11-14 16:53:51 +00:00
Showing only changes of commit 290d78cea4 - Show all commits

View file

@ -67,6 +67,12 @@ if ENV['S3_ENABLED'] == 'true'
retry_limit: 0,
}
)
if ENV['S3_PERMISSION'] == ''
Paperclip::Attachment.default_options.merge!(
s3_permissions: ->(*) { nil }
)
end
if ENV.has_key?('S3_ENDPOINT')
Paperclip::Attachment.default_options[:s3_options].merge!(