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:
parent
aaa81d3540
commit
1abf0f3b3e
|
@ -253,7 +253,7 @@ def finger(account) do
|
|||
String.replace(template, "{uri}", URI.encode(account))
|
||||
|
||||
_ ->
|
||||
"http://#{domain}/.well-known/webfinger?resource=acct:#{account}"
|
||||
"https://#{domain}/.well-known/webfinger?resource=acct:#{account}"
|
||||
end
|
||||
|
||||
with response <-
|
||||
|
|
Loading…
Reference in New Issue