修改clientID不存在时返回code

This commit is contained in:
2025-07-03 21:18:25 +08:00
parent f347e1bd9c
commit 6a73917264
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ router.get('/', (req, res) => {
res.write(`data: ${JSON.stringify({
status: 'connected',
clientId,
clientCount: clients.size(),
time: timestamp.formatTime()
})}\n\n`);