aboutsummaryrefslogtreecommitdiff
path: root/api/socket_io.py
blob: dbe17ab9d4f086115069693df1283d20422ba010 (plain)
1
2
3
4
5
from flask_socketio import SocketIO
from app import app

# socket.io wrapper to avoid circular imports (same as db.py)
io = SocketIO(app, cors_allowed_origins="*")