mirror of https://gitlab.com/bashrc2/epicyon
Access to nodeinfo may be blockable
parent
d1d13f1a90
commit
8f50983816
|
@ -12939,8 +12939,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
this should only allow through basic information, such as nodeinfo
|
||||
"""
|
||||
if path == '/' or path == '/about' or path == '/login' or \
|
||||
path.startswith('/api/') or \
|
||||
path.startswith('/nodeinfo/') or \
|
||||
path.startswith('/blog/'):
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue