From aac7c1a98fae91cfa0ffe800ace522bd1689ceb8 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 30 Jul 2020 17:57:20 +0200 Subject: [PATCH] Fix redirections on WebFinger Signed-off-by: Thomas Citharel --- lib/federation/web_finger/web_finger.ex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/federation/web_finger/web_finger.ex b/lib/federation/web_finger/web_finger.ex index 84b496a40..97f5b2b51 100644 --- a/lib/federation/web_finger/web_finger.ex +++ b/lib/federation/web_finger/web_finger.ex @@ -18,8 +18,10 @@ defmodule Mobilizon.Federation.WebFinger do require Logger @http_options [ - follow_redirect: true, - ssl: [{:versions, [:"tlsv1.2"]}] + adapter: [ + follow_redirect: true, + ssl: [{:versions, [:"tlsv1.2"]}] + ] ] def host_meta do