Set a specific S3 expiration time so that files can be cached

This commit is contained in:
Eugen Rochko
2016-12-04 12:58:35 +01:00
parent 80c44ed9c1
commit 24e692b0cf
10 changed files with 15 additions and 15 deletions

View File

@ -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.expiring_url(3600, :original))
logo xml, full_asset_url(@account.avatar.expiring_url(s3_expiry, :original))
author(xml) do
include_author xml, @account