From 64d8e34904e2a9f36fc0fde7e14c3e0e33543e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Mah=C3=A9?= Date: Wed, 31 Oct 2018 12:32:00 -0700 Subject: [PATCH] Revert "format instance name instead of inbox url" This reverts commit 12af824b56159d24ffe5cd22eb9fe46be52bb25d. --- relay/default.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/relay/default.py b/relay/default.py index 172c9d3..de2dc1e 100644 --- a/relay/default.py +++ b/relay/default.py @@ -1,11 +1,10 @@ import aiohttp.web -import re from . import app, CONFIG from .database import DATABASE host = CONFIG['ap']['host'] note = CONFIG['note'] -targets = '
'.join([re.search('https://(.*)/inbox',target).group(1) for target in DATABASE.get('relay-list', [])]) +targets = '
'.join([target for target in DATABASE.get('relay-list', [])]) async def default(request): return aiohttp.web.Response(