From 7a4a71c796b3eef09444ce6840f6170a5c256672 Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Thu, 18 Jan 2024 15:11:05 -0600 Subject: [PATCH] Stupid linter --- config/environments/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 6645716d..626ccf62 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -109,10 +109,10 @@ config.active_job.queue_adapter = :sidekiq - if (ENV["AWS_ACCESS_KEY_ID"] || ENV["BUCKETEER_AWS_ACCESS_KEY_ID"]).present? - config.active_storage.service = :amazon + config.active_storage.service = if (ENV["AWS_ACCESS_KEY_ID"] || ENV["BUCKETEER_AWS_ACCESS_KEY_ID"]).present? + :amazon else - config.active_storage.service = :local + :local end config.action_mailer.perform_deliveries = true