[#2497] Formatting fix.
This commit is contained in:
parent
dc4e06e199
commit
4d18a50f3c
@ -158,7 +158,7 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController do
|
|||||||
|> put_resp_header("cache-control", ReverseProxy.default_cache_control_header())
|
|> put_resp_header("cache-control", ReverseProxy.default_cache_control_header())
|
||||||
end
|
end
|
||||||
|
|
||||||
defp thumbnail_max_dimensions() do
|
defp thumbnail_max_dimensions do
|
||||||
config = Config.get([:media_preview_proxy], [])
|
config = Config.get([:media_preview_proxy], [])
|
||||||
|
|
||||||
thumbnail_max_width = Keyword.fetch!(config, :thumbnail_max_width)
|
thumbnail_max_width = Keyword.fetch!(config, :thumbnail_max_width)
|
||||||
|
Loading…
Reference in New Issue
Block a user