http: fix mediaproxy

This commit is contained in:
William Pitcock 2018-10-26 06:38:08 +00:00
parent ae7c79cfc2
commit c302c619b9

View file

@ -19,7 +19,7 @@ defmodule Pleroma.HTTP 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]]