Commit 950cd1e7 authored by kaniini's avatar kaniini

Merge branch 'feature/always-update-displayed-instance-list' into 'master'

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

See merge request !6
parents 6debb5f0 1d317e9b
......@@ -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",
......
Markdown is supported
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