http: fix mediaproxy

stable
William Pitcock 6 years ago
parent ae7c79cfc2
commit c302c619b9

@ -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]]

Loading…
Cancel
Save