From e74614b18df10a769c36de997e67fc7bcb3f6f96 Mon Sep 17 00:00:00 2001 From: Daria Mayorova Date: Mon, 7 Oct 2024 15:01:17 +0200 Subject: [PATCH] Fix amazon_s3.yml config for FILE_UPLOAD_STORAGE=filesystem --- config/examples/amazon_s3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' %>