actor: add url field for older mastodon

This commit is contained in:
William Pitcock 2018-08-11 10:21:08 -05:00
parent ba854d5971
commit f048e2efff
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ async def actor(request):
"publicKeyPem": DATABASE["actorKeys"]["publicKey"]
},
"summary": "Viera, the bot",
"preferredUsername": "viera"
"preferredUsername": "viera",
"url": "https://{}/actor".format(request.host)
}
return aiohttp.web.json_response(data)