From b373a3650a5176d3bd0cc6e9a1779ff049e5da95 Mon Sep 17 00:00:00 2001 From: ericz Date: Mon, 26 Aug 2024 00:27:28 -0400 Subject: [PATCH] hopefully fixed --- api-server/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api-server/app.py b/api-server/app.py index 7dd7d33..8963b70 100644 --- a/api-server/app.py +++ b/api-server/app.py @@ -44,7 +44,8 @@ def log_message(level, message, meeting=''): setup_webrtc_sockets(socketio) if __name__ == '__main__': + import os if os.getenv('TESTING', True): - app.run(host='0.0.0.0', port=5000, allow_unsafe_werkzeug=True) + socketio.run(app, debug=True, allow_unsafe_werkzeug=True) else: - app.run(host='0.0.0.0', port=5000) \ No newline at end of file + socketio.run(app, debug=True) \ No newline at end of file