mirror of https://github.com/mastodon/mastodon
Do not use expiring links after all
parent
24e692b0cf
commit
f763e844e8
@ -1,5 +1,5 @@
|
||||
object @media
|
||||
attribute :id, :type
|
||||
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) }
|
||||
node(:url) { |media| full_asset_url(media.file.url( :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url( :small)) }
|
||||
node(:text_url) { |media| medium_url(media) }
|
||||
|
@ -1,4 +1,4 @@
|
||||
attributes :id, :remote_url, :type
|
||||
|
||||
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) }
|
||||
node(:url) { |media| full_asset_url(media.file.url( :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url( :small)) }
|
||||
|
Loading…
Reference in New Issue