aboutsummaryrefslogtreecommitdiff
path: root/api/socket_io.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-28 12:19:28 +0200
committerlonkaars <l.leblansch@gmail.com>2021-03-28 12:19:28 +0200
commit2f4536d6b08b69168ebf3e718cbd8e3002b9af5a (patch)
tree5307692fb341d7f924ee9b73f3751e7e56cfb192 /api/socket_io.py
parent1f897d3f5ad11178cf4776ae4070c9d3e832f5f3 (diff)
added comments
Diffstat (limited to 'api/socket_io.py')
-rw-r--r--api/socket_io.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/socket_io.py b/api/socket_io.py
index b80e12e..de3dd9e 100644
--- a/api/socket_io.py
+++ b/api/socket_io.py
@@ -1,5 +1,6 @@
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="*")