feat: 添加挂起会话导出日志功能

This commit is contained in:
Baobhan Sith
2025-05-10 14:29:21 +08:00
parent d828de3ef8
commit f3b190bd24
7 changed files with 187 additions and 4 deletions
@@ -34,4 +34,11 @@ router.put(
sshSuspendController.editSessionNameHttp // 新的控制器方法
);
// Route to export the log of a suspended session
router.get(
'/log/:suspendSessionId',
isAuthenticated,
sshSuspendController.exportSessionLog
);
export default router;