mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 21:15:05 +01:00
Fix typo in paperclip.rb (#5936)
This commit is contained in:
parent
2526ef10c2
commit
17e26f8afe
@ -19,7 +19,7 @@ if ENV['S3_ENABLED'] == 'true'
|
|||||||
|
|
||||||
s3_region = ENV.fetch('S3_REGION') { 'us-east-1' }
|
s3_region = ENV.fetch('S3_REGION') { 'us-east-1' }
|
||||||
s3_protocol = ENV.fetch('S3_PROTOCOL') { 'https' }
|
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!(
|
Paperclip::Attachment.default_options.merge!(
|
||||||
storage: :s3,
|
storage: :s3,
|
||||||
|
Loading…
Reference in New Issue
Block a user