From c91e58aae9ac5865a179e28bf0f84a1d15fc0446 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 31 Jan 2022 10:15:13 +0000 Subject: [PATCH] Debug --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index b4008f3e6..19d801917 100644 --- a/daemon.py +++ b/daemon.py @@ -1144,9 +1144,11 @@ class PubServer(BaseHTTPRequestHandler): return False if not referer_domain: if not debug and not self.server.unit_test: + print('nodeinfo request has no referer domain ' + ua_str) self._400() return True if referer_domain == self.server.domain_full: + print('nodeinfo request from self') self._400() return True if self.server.nodeinfo_is_active: