Switch http code

main
Bob Mottram 2022-01-30 18:54:26 +00:00
parent 42e53b5cef
commit d67e602b55
1 changed files with 1 additions and 1 deletions

View File

@ -1142,7 +1142,7 @@ class PubServer(BaseHTTPRequestHandler):
if not self.path.startswith('/nodeinfo/2.0'): if not self.path.startswith('/nodeinfo/2.0'):
return False return False
if calling_domain == self.server.domain_full: if calling_domain == self.server.domain_full:
self._404() self._400()
return True return True
if self.server.nodeinfo_is_active: if self.server.nodeinfo_is_active:
print('nodeinfo is busy') print('nodeinfo is busy')