Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Izalia Mae 2020-12-05 05:35:10 +00:00
parent 63be7f2034
commit 6cef5d8f38

View file

@ -104,7 +104,7 @@ async def push_message_to_actor(actor, message, our_key_id):
async def fetch_nodeinfo(domain):
headers = {'Accept': 'application/activity+json'}
headers = {'Accept': 'application/json'}
nodeinfo_url = None
wk_nodeinfo = await fetch_actor(f'https://{domain}/.well-known/nodeinfo', headers=headers)