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