[#2497] Added support for enforcing output format for media proxy preview, used for avatar_static & header_static (AccountView).
This commit is contained in:
parent
85446cc30c
commit
60c925380d
4 changed files with 20 additions and 11 deletions
|
|
@ -15,6 +15,7 @@ defmodule Pleroma.Helpers.UriHelper do
|
|||
uri
|
||||
|> Map.put(:query, URI.encode_query(updated_params))
|
||||
|> URI.to_string()
|
||||
|> String.replace_suffix("?", "")
|
||||
end
|
||||
|
||||
def maybe_add_base("/" <> uri, base), do: Path.join([base, uri])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue