bugfix, added serveforever

This commit is contained in:
ParisNeo 2023-05-02 00:04:18 +02:00
parent 49bc2ef95b
commit 858b9b418a

10
app.py
View File

@ -630,8 +630,8 @@ if __name__ == "__main__":
print("debug mode:false")
http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
# if config["debug"]:
# app.run(debug=True, host=config["host"], port=config["port"])
# else:
# app.run(host=config["host"], port=config["port"])
http_server.serve_forever()
#if config["debug"]:
# app.run(debug=True, host=config["host"], port=config["port"])
#else:
# app.run(host=config["host"], port=config["port"])