|
@@ -686,7 +686,7 @@ async def root_test(board_prio: dict = Depends(board_priority), |
|
|
settings: config.Settings = Depends(get_settings)): |
|
|
settings: config.Settings = Depends(get_settings)): |
|
|
return { 'foo': 'bar', 'board': board_prio } |
|
|
return { 'foo': 'bar', 'board': board_prio } |
|
|
|
|
|
|
|
|
@router.websocket("/ssh") |
|
|
|
|
|
|
|
|
@router.websocket('/ssh') |
|
|
async def board_exec_ws( |
|
|
async def board_exec_ws( |
|
|
websocket: WebSocket): |
|
|
websocket: WebSocket): |
|
|
await websocket.accept() |
|
|
await websocket.accept() |
|
|