From 24e692b0cf1e6b2c3f1f209bebb39f0f9a97eb20 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 4 Dec 2016 12:58:35 +0100 Subject: Set a specific S3 expiration time so that files can be cached --- app/views/accounts/show.atom.ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/accounts/show.atom.ruby') diff --git a/app/views/accounts/show.atom.ruby b/app/views/accounts/show.atom.ruby index 68b1c157d..2fcaecdce 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.expiring_url(3600, :original)) + logo xml, full_asset_url(@account.avatar.expiring_url(s3_expiry, :original)) author(xml) do include_author xml, @account -- cgit