mirror of https://gitlab.com/bashrc2/epicyon
Extra nodeinfo endpoint
parent
5c965a57e1
commit
77de16d773
|
@ -1049,7 +1049,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return True
|
return True
|
||||||
self._404()
|
self._404()
|
||||||
return True
|
return True
|
||||||
if self.path.startswith('/.well-known/nodeinfo'):
|
if self.path.startswith('/.well-known/nodeinfo') or \
|
||||||
|
self.path.startswith('/.well-known/x-nodeinfo'):
|
||||||
if callingDomain.endswith('.onion') and \
|
if callingDomain.endswith('.onion') and \
|
||||||
self.server.onionDomain:
|
self.server.onionDomain:
|
||||||
wfResult = \
|
wfResult = \
|
||||||
|
|
Loading…
Reference in New Issue