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

View file

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