Commit 8b4ef87e authored by Haelwenn's avatar Haelwenn
Browse files

Merge branch 'master' into 'master'

set content-type to application/activity+json for /actor

See merge request !24
parents a15d7342 c2d53df8
......@@ -62,7 +62,7 @@ async def actor(request):
"preferredUsername": "relay",
"url": "https://{}/actor".format(
return aiohttp.web.json_response(data)
return aiohttp.web.json_response(data, content_type='application/activity+json')
app.router.add_get('/actor', actor)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment