chore(auto): task completed - unknown

This commit is contained in:
MythEclipse
2026-06-13 14:10:34 +07:00
parent 277d982c51
commit 6822cb0bd3
5 changed files with 33 additions and 34 deletions
@@ -10,14 +10,14 @@ import {
export function createVoiceRouter(): Router {
const router = express.Router();
// GET /api/status
router.get("/status", handleGetVoiceStatus);
// GET /api/voice/status
router.get("/voice/status", handleGetVoiceStatus);
// POST /api/connect
router.post("/connect", handleConnectVoice);
// POST /api/voice/connect
router.post("/voice/connect", handleConnectVoice);
// POST /api/disconnect
router.post("/disconnect", handleDisconnectVoice);
// POST /api/voice/disconnect
router.post("/voice/disconnect", handleDisconnectVoice);
// POST /api/voice/command — send arbitrary voice command (transmit start/stop)
router.post("/voice/command", handleVoiceCommand);