1
0
Fork 0
forked from mirrors/akkoma

Add a note about the avatars and banners situation

This commit is contained in:
Mark Felder 2020-08-27 17:28:21 -05:00
parent 67c79394e8
commit 5b4d483f52

View file

@ -67,6 +67,9 @@ defp handle_preview(conn, url) do
end
end
# TODO: find a workaround so avatar_static and banner_static can work.
# Those only permit GIFs for animation, so we have to permit a way to
# allow those to get real static variants.
defp handle_preview("image/gif" = _content_type, conn, url) do
mediaproxy_url = url |> MediaProxy.url()