This reverts commit 40871caa4b
.
This commit is contained in:
parent
ff7941e652
commit
28384c1771
3 changed files with 21 additions and 15 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…
Add table
Add a link
Reference in a new issue