Skip to content

Commit

Permalink
Stupid linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Jan 18, 2024
1 parent 3be8809 commit 7a4a71c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a4a71c

Please sign in to comment.