mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-06-30 15:26:55 +00:00
Fix webfinger logic to fetch handle
This commit is contained in:
parent
adbdf6f320
commit
c506299089
|
@ -38,7 +38,7 @@ def _handle(raw_actor: ap.RawObject) -> str:
|
|||
resp: httpx.Response | None = None
|
||||
for url in {
|
||||
f"https://{domain.hostname}/.well-known/webfinger",
|
||||
f"https://{domain.hostname}/.well-known/webfinger",
|
||||
f"http://{domain.hostname}/.well-known/webfinger",
|
||||
}:
|
||||
try:
|
||||
logger.info(f"Webfinger {handle} at {url}")
|
||||
|
|
Loading…
Reference in a new issue