mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-31 06:31:41 +00:00
Define default s3_protocol as 'https'
This commit is contained in:
@@ -26,6 +26,7 @@ Spree.config do |config|
|
||||
config.s3_access_key = ENV['S3_ACCESS_KEY'] if ENV['S3_ACCESS_KEY']
|
||||
config.s3_secret = ENV['S3_SECRET'] if ENV['S3_SECRET']
|
||||
config.use_s3 = true if ENV['S3_ACCESS_KEY'] && ENV['S3_SECRET']
|
||||
config.s3_protocol = ENV.fetch('S3_PROTOCOL', 'https')
|
||||
end
|
||||
|
||||
# Don't log users out when setting a new password
|
||||
|
||||
Reference in New Issue
Block a user