@ -86,7 +86,7 @@ defmodule Pleroma.Web.WebFinger do
end
deffind_lrdd_template(domain)do
with{:ok,%{status_code:status_code,body:body}}whenstatus_codein200..299<-@httpoison.get("http://#{domain}/.well-known/host-meta",[],follow_redirect:true, timeout:10_000,recv_timeout:20_000) do
with{:ok,%{status_code:status_code,body:body}}whenstatus_codein200..299<-@httpoison.get("http://#{domain}/.well-known/host-meta",[],follow_redirect:true) do
get_template_from_xml(body)
else
e->
@ -107,7 +107,7 @@ defmodule Pleroma.Web.WebFinger do