Skip to content

Commit

Permalink
Specify fog provider
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewford committed Jul 20, 2023
1 parent 4d71e50 commit f9ea38d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/carrierwave.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CarrierWave.configure do |config|
if Rails.env.production?
config.fog_provider = 'fog/aws'
config.fog_credentials = {
provider: 'AWS',
aws_access_key_id: ENV["AWS_ACCESS_KEY_ID"],
Expand Down

0 comments on commit f9ea38d

Please sign in to comment.