[#2497] Made media preview proxy fall back to media proxy instead of to source url...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 5 Sep 2020 13:16:35 +0000 (16:16 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sat, 5 Sep 2020 13:16:35 +0000 (16:16 +0300)
commitc3b02341bf4ab610e9425d6811dca057e9f811a4
treebd579cec98b2ca7a2111687e299211a8dbe1515f
parentf25b0e87f3dd73e02c954c5baab3c52becdd9c9e
[#2497] Made media preview proxy fall back to media proxy instead of to source url. Adjusted tests. Refactoring.
lib/pleroma/helpers/media_helper.ex
lib/pleroma/web/media_proxy/media_proxy.ex
lib/pleroma/web/media_proxy/media_proxy_controller.ex
test/web/mastodon_api/views/account_view_test.exs