Update socketio mount path
This commit is contained in:
parent
4c2126f46f
commit
afe73558ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue