From 1d317e9b78bba19069e16679adc5921b7ebad332 Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Mon, 10 Dec 2018 14:14:43 -0800 Subject: [PATCH] Rebuild the list of instances that use this relay every time / is requested --- relay/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/default.py b/relay/default.py index 638e0c7..b3a1836 100644 --- a/relay/default.py +++ b/relay/default.py @@ -7,9 +7,9 @@ host = CONFIG['ap']['host'] note = CONFIG['note'] inboxes = DATABASE.get('relay-list', []) -targets = '
'.join([urllib.parse.urlsplit(target).hostname for target in inboxes]) async def default(request): + targets = '
'.join([urllib.parse.urlsplit(target).hostname for target in inboxes]) return aiohttp.web.Response( status=200, content_type="text/html",