Access to nodeinfo may be blockable

merge-requests/30/head
Bob Mottram 2021-11-21 20:27:12 +00:00
parent d1d13f1a90
commit 8f50983816
1 changed files with 0 additions and 2 deletions

View File

@ -12939,8 +12939,6 @@ class PubServer(BaseHTTPRequestHandler):
this should only allow through basic information, such as nodeinfo this should only allow through basic information, such as nodeinfo
""" """
if path == '/' or path == '/about' or path == '/login' or \ if path == '/' or path == '/about' or path == '/login' or \
path.startswith('/api/') or \
path.startswith('/nodeinfo/') or \
path.startswith('/blog/'): path.startswith('/blog/'):
return True return True
return False return False