Skip to content
Extraits de code Groupes Projets
Valider 2a449aa8 rédigé par MrZYX's avatar MrZYX
Parcourir les fichiers

uncomment the new s3_region setting so that nobody needs to update his...

uncomment the new s3_region setting so that nobody needs to update his app_config.yml when he's using S3
parent ee1c394a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -91,7 +91,7 @@ default:
#s3_key: 'key'
#s3_secret: 'secret'
#s3_bucket: 'my_photos'
#s3_region: 'us-east-1'
s3_region: 'us-east-1'
# If you want normal Rails logs, set this to false in the appropriate environment.
# It is false by default in development and test.
......
......@@ -8,7 +8,7 @@ CarrierWave.configure do |config|
config.s3_access_key_id = AppConfig[:s3_key]
config.s3_secret_access_key = AppConfig[:s3_secret]
config.s3_bucket = AppConfig[:s3_bucket]
config.s3_region = AppConfig[:s3_region]
config.s3_region = AppConfig[:s3_region]
config.s3_use_ssl = true
config.cache_dir = "#{Rails.root}/tmp/uploads"
else
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter