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 9fdf7bad0f
commit d4cde716d4
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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