mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 10:01:48 +00:00
Unused endpoints
This commit is contained in:
1 parent
e719fb1a16
commit
faa747fc30
1 file changed
+5
-3
@@ -1049,9 +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
|
||||
if self.path.startswith('/api/statusnet') or \
|
||||
self.path.startswith('/api/gnusocial') or \
|
||||
self.path.startswith('/siteinfo') or \
|
||||
self.path.startswith('/poco') or \
|
||||
self.path.startswith('/friendi'):
|
||||
self._404()
|
||||
return True
|
||||
if self.path.startswith('/.well-known/nodeinfo') or \
|
||||
|
||||
Reference in new issue
Block a user