Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
63be7f2034
commit
6cef5d8f38
|
@ -104,7 +104,7 @@ async def push_message_to_actor(actor, message, our_key_id):
|
||||||
|
|
||||||
|
|
||||||
async def fetch_nodeinfo(domain):
|
async def fetch_nodeinfo(domain):
|
||||||
headers = {'Accept': 'application/activity+json'}
|
headers = {'Accept': 'application/json'}
|
||||||
nodeinfo_url = None
|
nodeinfo_url = None
|
||||||
|
|
||||||
wk_nodeinfo = await fetch_actor(f'https://{domain}/.well-known/nodeinfo', headers=headers)
|
wk_nodeinfo = await fetch_actor(f'https://{domain}/.well-known/nodeinfo', headers=headers)
|
||||||
|
|
Loading…
Reference in a new issue