webfinger: use https as default fallback instead of http

realistically, all instances need to be on https anyway to properly federate with all
software
This commit is contained in:
William Pitcock 2018-06-01 17:58:20 +00:00
parent aaa81d3540
commit 1abf0f3b3e
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ def finger(account) do
String.replace(template, "{uri}", URI.encode(account)) String.replace(template, "{uri}", URI.encode(account))
_ -> _ ->
"http://#{domain}/.well-known/webfinger?resource=acct:#{account}" "https://#{domain}/.well-known/webfinger?resource=acct:#{account}"
end end
with response <- with response <-