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:
008f43d
)
Rebuild the list of instances that use this relay every time / is requested
author
Finn Herzfeld
<finn@social.seattle.wa.us>
Mon, 10 Dec 2018 22:14:43 +0000
(14:14 -0800)
committer
Finn Herzfeld
<finn@social.seattle.wa.us>
Mon, 10 Dec 2018 22:14:43 +0000
(14:14 -0800)
relay/default.py
patch
|
blob
|
history
diff --git
a/relay/default.py
b/relay/default.py
index
638e0c7
..
b3a1836
100644
(file)
--- 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 = '<br>'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
async def default(request):
+ targets = '<br>'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
return aiohttp.web.Response(
status=200,
content_type="text/html",