From: William Pitcock Date: Fri, 26 Oct 2018 06:38:08 +0000 (+0000) Subject: http: fix mediaproxy X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c302c619b957bab54fcc23a867d8949e42b102e5;p=akkoma http: fix mediaproxy --- diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index f222e1774..e64266ae7 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -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]]