mirror of https://gitlab.com/bashrc2/epicyon
The minimal peer set
parent
3e543342c3
commit
2124e31ba0
|
@ -342,7 +342,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
# On a large instance you are somewhat lost in the crowd, but on small
|
# On a large instance you are somewhat lost in the crowd, but on small
|
||||||
# instances a full list of peers would convey a lot of information about
|
# instances a full list of peers would convey a lot of information about
|
||||||
# the interests of a small number of accounts
|
# the interests of a small number of accounts
|
||||||
msg=json.dumps([self.server.domainFull]).encode('utf-8')
|
msg=json.dumps(['mastodon.social',self.server.domainFull]).encode('utf-8')
|
||||||
self._set_headers('application/ld+json',len(msg),None)
|
self._set_headers('application/ld+json',len(msg),None)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue