mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 19:21:08 +00:00
Revert "format instance name instead of inbox url"
This reverts commit 12af824b56
.
This commit is contained in:
parent
aa79a27840
commit
64d8e34904
|
@ -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 = '<br>'.join([re.search('https://(.*)/inbox',target).group(1) for target in DATABASE.get('relay-list', [])])
|
||||
targets = '<br>'.join([target for target in DATABASE.get('relay-list', [])])
|
||||
|
||||
async def default(request):
|
||||
return aiohttp.web.Response(
|
||||
|
|
Loading…
Reference in a new issue