mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 11:11:09 +00:00
set content-type to application/activity+json for /actor
This commit is contained in:
parent
a15d734218
commit
c2d53df85b
|
@ -62,7 +62,7 @@ async def actor(request):
|
|||
"preferredUsername": "relay",
|
||||
"url": "https://{}/actor".format(request.host)
|
||||
}
|
||||
return aiohttp.web.json_response(data)
|
||||
return aiohttp.web.json_response(data, content_type='application/activity+json')
|
||||
|
||||
|
||||
app.router.add_get('/actor', actor)
|
||||
|
|
Loading…
Reference in a new issue