http: fix mediaproxy
This commit is contained in:
parent
ae7c79cfc2
commit
c302c619b9
|
@ -19,7 +19,7 @@ defp process_sni_options(options, url) do
|
|||
end
|
||||
end
|
||||
|
||||
defp process_request_options(options) do
|
||||
def process_request_options(options) do
|
||||
config = Application.get_env(:pleroma, :http, [])
|
||||
proxy = Keyword.get(config, :proxy_url, nil)
|
||||
options = options ++ [hackney: [pool: :default]]
|
||||
|
|
Loading…
Reference in New Issue