https://reisub.nsupdate.info/git
/
relay.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa79a27
)
Revert "format instance name instead of inbox url"
author
Tristan Mahé
<gled@remote-shell.net>
Wed, 31 Oct 2018 19:32:00 +0000
(12:32 -0700)
committer
Tristan Mahé
<gled@remote-shell.net>
Wed, 31 Oct 2018 19:32:00 +0000
(12:32 -0700)
This reverts commit
12af824b56159d24ffe5cd22eb9fe46be52bb25d
.
relay/default.py
patch
|
blob
|
history
diff --git
a/relay/default.py
b/relay/default.py
index
172c9d3
..
de2dc1e
100644
(file)
--- 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 = '<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(