diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-04 12:26:12 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-04 12:28:10 +0100 |
commit | 80c44ed9c19855d494ab26011dca0f6fbc644d0c (patch) | |
tree | a14d280f0fa88bfa6e3ef97fff26d50a632471b3 /app/views/accounts/show.atom.ruby | |
parent | 290ffb63cdf4753bc30224619f182cc3db654e91 (diff) |
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also make it private (aka only accessible via expiring links to prevent hotlinking)
Diffstat (limited to 'app/views/accounts/show.atom.ruby')
-rw-r--r-- | app/views/accounts/show.atom.ruby | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.atom.ruby b/app/views/accounts/show.atom.ruby index 558c777f0..68b1c157d 100644 --- a/app/views/accounts/show.atom.ruby +++ b/app/views/accounts/show.atom.ruby @@ -6,7 +6,7 @@ Nokogiri::XML::Builder.new do |xml| title xml, @account.display_name subtitle xml, @account.note updated_at xml, stream_updated_at - logo xml, full_asset_url(@account.avatar.url(:medium, false)) + logo xml, full_asset_url(@account.avatar.expiring_url(3600, :original)) author(xml) do include_author xml, @account |