Mystery endpoint

main
Bob Mottram 2021-07-31 21:23:58 +01:00
parent 77de16d773
commit e719fb1a16
1 changed files with 5 additions and 0 deletions

View File

@ -1049,6 +1049,11 @@ class PubServer(BaseHTTPRequestHandler):
return True
self._404()
return True
if self.path.startswith('/poco'):
# NOTE: I have no idea what this endpoint is for, but
# other systems try to access it
self._404()
return True
if self.path.startswith('/.well-known/nodeinfo') or \
self.path.startswith('/.well-known/x-nodeinfo'):
if callingDomain.endswith('.onion') and \