diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/http/http.ex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index 21c057f4b..6a09b8260 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -67,10 +67,13 @@ defmodule Pleroma.HTTP do options conn -> + %{host: host, port: port} = URI.parse(url) + adapter_opts = Keyword.get(options, :adapter, []) |> Keyword.put(:conn, conn) |> Keyword.put(:close_conn, false) + |> Keyword.put(:original, "#{host}:#{port}") Keyword.put(options, :adapter, adapter_opts) end |