Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
expose the S3 protocol as a setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tilsammans committed Aug 19, 2015
1 parent d0d6781 commit f70a965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/pageflow.rb
Expand Up @@ -56,7 +56,7 @@
:s3_host_name => ENV['S3_HOST_NAME']
},
:s3_host_alias => ENV['S3_HOST_ALIAS'],
:s3_protocol => 'http'
:s3_protocol => ENV['S3_PROTOCOL']
)

# Default options for paperclip attachments which are supposed to
Expand All @@ -66,7 +66,7 @@
:api_key => ENV['ZENCODER_API_KEY'],
:output_bucket => ENV['S3_OUTPUT_BUCKET'],
:s3_host_alias => ENV['S3_OUTPUT_HOST_ALIAS'],
:s3_protocol => 'http',
:s3_protocol => ENV['S3_PROTOCOL'],
:attachments_version => 'v1'
)
end
Expand Down

0 comments on commit f70a965

Please sign in to comment.