mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
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 @@ defmodule Pleroma.Web.WebFinger 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 a new issue