Closed pyropy closed 3 years ago
Add allowed CORS origins support based upon current state of FastAPI app.
If FastAPI app does have CORS middleware mounted set SocketManager allowed origins to empty list.
SocketManager
Passing it empty list will make sure that app doesn't break.
Resolved in #7 PR 🚀🎉
Add allowed CORS origins support based upon current state of FastAPI app.
If FastAPI app does have CORS middleware mounted set
SocketManager
allowed origins to empty list.Passing it empty list will make sure that app doesn't break.