Missed a bit of the Paperclip revert
This commit is contained in:
parent
8641260c5f
commit
17e94e322f
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,7 @@ Paperclip::Attachment.default_options.merge!(
|
|||
)
|
||||
|
||||
if ENV['S3_ENABLED'] == 'true'
|
||||
require 'aws-sdk'
|
||||
Aws.eager_autoload!(services: %w(S3))
|
||||
require 'aws-sdk-s3'
|
||||
|
||||
s3_region = ENV.fetch('S3_REGION') { 'us-east-1' }
|
||||
s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }
|
||||
|
|
Loading…
Reference in a new issue