From 6cef5d8f387a3b303cb3fe0802a08d12b89363ab Mon Sep 17 00:00:00 2001 From: Izalia Mae <2908-izalia@users.noreply.git.pleroma.social> Date: Sat, 5 Dec 2020 05:35:10 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- relay/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/actor.py b/relay/actor.py index b45ee6f..aba72ea 100644 --- a/relay/actor.py +++ b/relay/actor.py @@ -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)