mirror of https://github.com/mastodon/mastodon
Downsize originals in media attachments, small fixes
parent
a910cdd54d
commit
64d109dc0e
@ -1,4 +1,4 @@
|
||||
attributes :id, :remote_url, :type
|
||||
|
||||
node(:url) { |media| full_asset_url(media.file.url( :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url( :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