From 07573f4067b2b04b70aa1d89bb40d0db53e80c19 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Sun, 8 Sep 2024 02:07:37 +0200 Subject: [PATCH] Update src/ozai_webui/__init__.py --- src/ozai_webui/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ozai_webui/__init__.py b/src/ozai_webui/__init__.py index d2481c5..ccc557f 100755 --- a/src/ozai_webui/__init__.py +++ b/src/ozai_webui/__init__.py @@ -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()