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)
|
socketio.emit('move_status', response.text, room=game_id)
|
||||||
|
|
||||||
def main ():
|
def main ():
|
||||||
# app.run(debug=True, host='0.0.0.0', port=5000,ssl_context='adhoc')
|
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)
|
#return socketio.run(app, debug=False, host=ozai_webui_host, port=ozai_webui_port, allow_unsafe_werkzeug=True)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue