logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 17e26f8afe962cf85f5ee25defb59905ec684eb2
parent: 2526ef10c29ea4c136ce66b251c105addcf1bf5d
Author: THE BOSS ♨ <30565780+theboss@users.noreply.github.com>
Date:   Sat,  9 Dec 2017 13:59:59 +0900

Fix typo in paperclip.rb (#5936)


Diffstat:

Mconfig/initializers/paperclip.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,