Rebuild the list of instances that use this relay every time / is requested

develop
Finn Herzfeld 2018-12-10 14:14:43 -08:00
parent 008f43db2c
commit 1d317e9b78
1 changed files with 1 additions and 1 deletions

View File

@ -7,9 +7,9 @@ host = CONFIG['ap']['host']
note = CONFIG['note']
inboxes = DATABASE.get('relay-list', [])
targets = '<br>'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
async def default(request):
targets = '<br>'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
return aiohttp.web.Response(
status=200,
content_type="text/html",