完成项目训练模块的接口测试
This commit is contained in:
@ -7,7 +7,7 @@ from utils.websocket_server import room_manager
|
||||
|
||||
def websocket_config(app: FastAPI):
|
||||
|
||||
@app.websocket("/{room}")
|
||||
@app.websocket("/ws/{room}")
|
||||
async def websocket_room(websocket: WebSocket, room: str):
|
||||
"""
|
||||
websocket 房间管理
|
||||
|
Reference in New Issue
Block a user