http: fix mediaproxy
authorWilliam Pitcock <nenolod@dereferenced.org>
Fri, 26 Oct 2018 06:38:08 +0000 (06:38 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Fri, 26 Oct 2018 06:38:08 +0000 (06:38 +0000)
lib/pleroma/http/http.ex

index f222e1774c9253224b97ca7a642a940b79554a57..e64266ae7e9fa9ce2a3a0f7fd467b445c7c47bee 100644 (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]]