]> cat aescling's git repositories - mastodon.git/commitdiff
Fix typo in paperclip.rb (#5936)
authorTHE BOSS ♨ <30565780+theboss@users.noreply.github.com>
Sat, 9 Dec 2017 04:59:59 +0000 (13:59 +0900)
committerYamagishi Kazutoshi <ykzts@desire.sh>
Sat, 9 Dec 2017 04:59:59 +0000 (13:59 +0900)
config/initializers/paperclip.rb

index bd26c533db7903866bb9ac06880f392dac06390d..8aa1d1b6ed7265e3adf6967c8daa46d4bbdb4eee 100644 (file)
@@ -19,7 +19,7 @@ if ENV['S3_ENABLED'] == 'true'
 
   s3_region   = ENV.fetch('S3_REGION')   { 'us-east-1' }
   s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }
-  s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}}.amazonaws.com" }
+  s3_hostname = ENV.fetch('S3_HOSTNAME') { "s3-#{s3_region}.amazonaws.com" }
 
   Paperclip::Attachment.default_options.merge!(
     storage: :s3,