diff --git a/config/examples/amazon_s3.yml b/config/examples/amazon_s3.yml index 1185b6fdde..3808ef7aff 100644 --- a/config/examples/amazon_s3.yml +++ b/config/examples/amazon_s3.yml @@ -13,7 +13,7 @@ s3: &s3 force_path_style: <%= ENV['AWS_PATH_STYLE'].presence || false %> development: - <<: *<%= ENV['FILE_UPLOAD_STORAGE'].presence || 'default' %> + <<: *<%= ENV['FILE_UPLOAD_STORAGE'] == 's3' ? 's3' : 'default' %> test: &test access_key_id: invalid @@ -22,4 +22,4 @@ test: &test region: "us-east-1" production: - <<: *<%= ENV['FILE_UPLOAD_STORAGE'].presence || 'default' %> + <<: *<%= ENV['FILE_UPLOAD_STORAGE'] == 's3' ? 's3' : 'default' %>