Update src/ozai_webui/__init__.py

This commit is contained in:
Adrian Gunnar Lauterer 2024-09-08 02:07:37 +02:00
parent 12a8265b9f
commit 07573f4067

View File

@ -221,8 +221,8 @@ def ws_message(data):
socketio.emit('move_status', response.text, room=game_id)
def main ():
# app.run(debug=True, host='0.0.0.0', port=5000,ssl_context='adhoc')
return socketio.run(app, debug=False, host=ozai_webui_host, port=ozai_webui_port, allow_unsafe_werkzeug=True)
return app.run(host=ozai_webui_host, port=ozai_webui_port)
#return socketio.run(app, debug=False, host=ozai_webui_host, port=ozai_webui_port, allow_unsafe_werkzeug=True)
if __name__ == '__main__':
main()