mirror of https://gitlab.com/bashrc2/epicyon
Unused endpoints
parent
e719fb1a16
commit
faa747fc30
|
@ -1049,9 +1049,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return True
|
return True
|
||||||
self._404()
|
self._404()
|
||||||
return True
|
return True
|
||||||
if self.path.startswith('/poco'):
|
if self.path.startswith('/api/statusnet') or \
|
||||||
# NOTE: I have no idea what this endpoint is for, but
|
self.path.startswith('/api/gnusocial') or \
|
||||||
# other systems try to access it
|
self.path.startswith('/siteinfo') or \
|
||||||
|
self.path.startswith('/poco') or \
|
||||||
|
self.path.startswith('/friendi'):
|
||||||
self._404()
|
self._404()
|
||||||
return True
|
return True
|
||||||
if self.path.startswith('/.well-known/nodeinfo') or \
|
if self.path.startswith('/.well-known/nodeinfo') or \
|
||||||
|
|
Loading…
Reference in New Issue