Login screen can be crawled by search engines

main
Bob Mottram 2021-11-08 21:29:06 +00:00
parent 4f111a189a
commit 72f7c57b34
1 changed files with 1 additions and 1 deletions

View File

@ -12306,7 +12306,7 @@ class PubServer(BaseHTTPRequestHandler):
"""Is the given path permitted to be crawled by a search engine?
this should only allow through basic information, such as nodeinfo
"""
if path == '/' or path == '/about' or \
if path == '/' or path == '/about' or path == '/login' or \
path.startswith('/api/') or \
path.startswith('/nodeinfo/') or \
path.startswith('/blog/'):