This commit is contained in:
GH Action - Upstream Sync 2023-06-01 01:41:37 +00:00
commit cb809589fc

7
app.py
View File

@ -1010,6 +1010,7 @@ if __name__ == "__main__":
print("debug mode:true") print("debug mode:true")
else: else:
print("debug mode:false") print("debug mode:false")
http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler) socketio.run(app, host=config["host"], port=config["port"])
http_server.serve_forever() # http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
# http_server.serve_forever()