Fix webfinger logic to fetch handle

main
Thomas Sileo 2022-12-19 21:17:34 +01:00
parent adbdf6f320
commit c506299089
1 changed files with 1 additions and 1 deletions

View File

@ -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}")