From d0c368df419280271023bc60b5108c20ba3ceb47 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Thu, 3 Sep 2026 19:27:38 +0800 Subject: [PATCH] fix: correct extract-voice API path from /tts to /voices prefix Backend route is mounted under /voices, not /tts --- apps/web/src/api/tts/jobs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/api/tts/jobs.ts b/apps/web/src/api/tts/jobs.ts index 9a7468994..3bc6d4ab7 100644 --- a/apps/web/src/api/tts/jobs.ts +++ b/apps/web/src/api/tts/jobs.ts @@ -84,7 +84,7 @@ export const extractVideoVoice = async ( return new Promise((resolve, reject) => { const xhr = new XMLHttpRequest() - xhr.open("POST", "/api/v1/tts/extract-video-voice") + xhr.open("POST", "/api/v1/voices/extract-voice") // 携带认证 token(从 localStorage 获取,与 apiClient 拦截器一致) const token = localStorage.getItem("access_token") -- 2.54.0