mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
[#2497] Formatting fix.
This commit is contained in:
parent
dc4e06e199
commit
4d18a50f3c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue