Initial implementation of image preview proxy. Media proxy tests refactoring.

This commit is contained in:
Ivan Tashkinov 2020-05-08 23:06:47 +03:00
commit bbdad85568
7 changed files with 198 additions and 101 deletions

View file

@ -388,6 +388,11 @@ config :pleroma, :media_proxy,
],
whitelist: []
config :pleroma, :media_preview_proxy,
enabled: false,
limit_dimensions: "400x200",
max_body_length: 25 * 1_048_576
config :pleroma, :chat, enabled: true
config :phoenix, :format_encoders, json: Jason