Skip to content

Commit

Permalink
hopefully fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
16BitNarwhal committed Aug 26, 2024
1 parent 3673e8a commit b373a36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api-server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
socketio.run(app, debug=True)

0 comments on commit b373a36

Please sign in to comment.