Sha256: 16c116c7243a656a6c56b27de3a6a0311424a778059043900b759dbd33cde721
Contents?: true
Size: 1.41 KB
Versions: 80
Compression:
Stored size: 1.41 KB
Contents
# frozen_string_literal: true # Default CarrierWave setup. # CarrierWave.configure do |config| config.permissions = 0o666 config.directory_permissions = 0o777 config.storage = :file config.enable_processing = !Rails.env.test? end # Setup CarrierWave to use Amazon S3. Add `gem "fog-aws" to your Gemfile. # # CarrierWave.configure do |config| # config.storage = :fog # config.fog_provider = 'fog/aws' # required # config.fog_credentials = { # provider: 'AWS', # required # aws_access_key_id: Rails.application.secrets.aws_access_key_id, # required # aws_secret_access_key: Rails.application.secrets.aws_secret_access_key, # required # region: 'eu-west-1', # optional, defaults to 'us-east-1' # host: 's3.example.com', # optional, defaults to nil # endpoint: 'https://s3.example.com:8080' # optional, defaults to nil # } # config.fog_directory = 'name_of_directory' # required # config.fog_public = false # optional, defaults to true # config.fog_attributes = { # 'Cache-Control' => "max-age=#{365.day.to_i}", # 'X-Content-Type-Options' => "nosniff" # } # end
Version data entries
80 entries across 80 versions & 2 rubygems