chore(auto): task completed - unknown

This commit is contained in:
MythEclipse committed 2026-06-13 14:10:34 +07:00
1 parent 277d982c51
commit 6822cb0bd3
5 files changed
+33 -34

No files matched your search

@@ -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);