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(