1 2 3 4 5
from flask_socketio import SocketIO from app import app io = SocketIO(app, cors_allowed_origins="*")