Fix redirections on WebFinger

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-07-30 17:57:20 +02:00
parent f1bb33ac50
commit aac7c1a98f

View File

@ -18,9 +18,11 @@ defmodule Mobilizon.Federation.WebFinger do
require Logger
@http_options [
adapter: [
follow_redirect: true,
ssl: [{:versions, [:"tlsv1.2"]}]
]
]
def host_meta do
base_url = Endpoint.url()