actor: add url field for older mastodon
This commit is contained in:
parent
ba854d5971
commit
f048e2efff
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue