mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Removed server state saving. That was a bad approach to it.
This commit is contained in:
parent
329e92ab86
commit
602e6732ab
@ -50,14 +50,6 @@ class Listener(SantiagoListener):
|
||||
|
||||
self.santiago.query(host, service)
|
||||
|
||||
@cherrypy.expose
|
||||
def save_server(self):
|
||||
if not cherrypy.request.remote.ip.startswith("127.0.0"):
|
||||
logging.debug("protocols.https.save_server: Request from non-local IP")
|
||||
return
|
||||
|
||||
self.santiago.save_server()
|
||||
|
||||
class Sender(SantiagoSender):
|
||||
|
||||
def __init__(self, santiago, proxy_host, proxy_port):
|
||||
|
||||
@ -536,3 +536,4 @@ if __name__ == "__main__":
|
||||
hosting, consuming, mykey)
|
||||
|
||||
santiago_b.start()
|
||||
logging.debug("Santiago finished!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user