Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
16BitNarwhal committed Aug 26, 2024
1 parent 20a72c4 commit 3673e8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api-server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ def log_message(level, message, meeting=''):
setup_webrtc_sockets(socketio)

if __name__ == '__main__':
socketio.run(app, debug=True)
if os.getenv('TESTING', True):
app.run(host='0.0.0.0', port=5000, allow_unsafe_werkzeug=True)
else:
app.run(host='0.0.0.0', port=5000)

0 comments on commit 3673e8a

Please sign in to comment.