Update socketio mount path

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-01 13:52:34 -03:00
commit afe73558ac

View file

@ -66,7 +66,7 @@ def create_app():
def mount_socketio(app: FastAPI, socketio_server: socketio.AsyncServer):
app.mount("/ws", socketio.ASGIApp(socketio_server))
app.mount("/sio", socketio.ASGIApp(socketio_server, socketio_path=""))
return app