From 17e26f8afe962cf85f5ee25defb59905ec684eb2 Mon Sep 17 00:00:00 2001 From: THE BOSS ♨ <30565780+theboss@users.noreply.github.com> Date: Sat, 9 Dec 2017 13:59:59 +0900 Subject: Fix typo in paperclip.rb (#5936) --- config/initializers/paperclip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers') diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb index bd26c533d..8aa1d1b6e 100644 --- a/config/initializers/paperclip.rb +++ b/config/initializers/paperclip.rb @@ -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, -- cgit