We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8773135 commit c5dca6bCopy full SHA for c5dca6b
app/socket_handlers.py
@@ -5,7 +5,9 @@
5
def register_socket_handlers(socketio):
6
@socketio.on("connect")
7
def on_connect():
8
- current_app.logger.info(f"Socket {request.sid} connected from {request.environ.get('HTTP_ORIGIN')}")
+ current_app.logger.info(
9
+ f"Socket {request.sid} connected from {request.environ.get('HTTP_ORIGIN')}"
10
+ )
11
return True # Accept the connection
12
13
@socketio.on("disconnect")
0 commit comments