mirror of https://gitlab.com/bashrc2/epicyon
Switch http code
parent
42e53b5cef
commit
d67e602b55
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue