Update src/ozai_webui/__init__.py
This commit is contained in:
parent
12a8265b9f
commit
07573f4067
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue