aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/web_finger
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-12-06 11:38:33 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-12-06 11:38:33 +0900
commit96ba95df2e6690c1c6a58cf087c91eab7af728b4 (patch)
tree46d1e0aeb8f67a75ff46fff949d5872d8dfd36fc /lib/pleroma/web/web_finger
parent27792b2d77564717e7d4063ab3524ab9e1cb1fb6 (diff)
downloadpleroma-96ba95df2e6690c1c6a58cf087c91eab7af728b4.tar.gz
remove follow_redirect options
Diffstat (limited to 'lib/pleroma/web/web_finger')
-rw-r--r--lib/pleroma/web/web_finger/web_finger.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/web_finger/web_finger.ex b/lib/pleroma/web/web_finger/web_finger.ex
index 99c65a6bf..0ff3b8b5f 100644
--- a/lib/pleroma/web/web_finger/web_finger.ex
+++ b/lib/pleroma/web/web_finger/web_finger.ex
@@ -221,7 +221,7 @@ defmodule Pleroma.Web.WebFinger do
def find_lrdd_template(domain) do
with {:ok, %{status: status, body: body}} when status in 200..299 <-
- @httpoison.get("http://#{domain}/.well-known/host-meta", [], follow_redirect: true) do
+ @httpoison.get("http://#{domain}/.well-known/host-meta", []) do
get_template_from_xml(body)
else
_ ->