diff --git a/daemon.py b/daemon.py index b31aeabf5..53f384e0f 100644 --- a/daemon.py +++ b/daemon.py @@ -210,7 +210,7 @@ class PubServer(BaseHTTPRequestHandler): print(e) def _robotsTxt(self) -> bool: - if not self.path.lower().startswith('/robots.'): + if not self.path.lower().startswith('/robot'): return False msg='User-agent: *\nDisallow: /' msg=msg.encode('utf-8')