1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 16:03:25 +00:00

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,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()