diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py index 9469214..368db16 100644 --- a/app/main.py +++ b/app/main.py @@ -47,7 +47,7 @@ class ObjectSerializer(json.JSONEncoder): serializer = ObjectSerializer()
app = web.Application()
-sio = socketio.AsyncServer()
+sio = socketio.AsyncServer(cors_allowed_origins='*')
sio.attach(app, socketio_path=config.URL_PREFIX + 'socket.io')
routes = web.RouteTableDef()
|