This commit is contained in:
Adrian Gunnar Lauterer 2024-09-08 03:52:35 +02:00
parent 20a26b2a64
commit 49b9e2ca44
Signed by: adriangl
GPG Key ID: D33368A59745C2F0
1 changed files with 2 additions and 2 deletions

View File

@ -220,9 +220,9 @@ 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(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)
# return socketio.run(app, debug=False, host=ozai_webui_host, port=ozai_webui_port) # return socketio.run(app, debug=False, host=ozai_webui_host, port=ozai_webui_port)
if __name__ == '__main__': if __name__ == '__main__':
main() # main()
app.run(host=ozai_webui_host, port=ozai_webui_port)