revert: switch back to direct Fish Audio API due to Vercel IP block

This commit is contained in:
2026-08-01 17:37:52 +08:00
parent f4c22cb713
commit 7bfff51919
+2 -2
View File
@@ -2496,8 +2496,8 @@ app.post('/api/tts/generate', express.json(), async (req, res) => {
};
const response = proxyUrl
? await requestViaProxy('https://fishaudio-proxy-red.vercel.app/v1/tts', options, proxyUrl)
: await requestDirect('https://fishaudio-proxy-red.vercel.app/v1/tts', options);
? await requestViaProxy('https://api.fish.audio/v1/tts', options, proxyUrl)
: await requestDirect('https://api.fish.audio/v1/tts', options);
if (!response.ok) {
const msg = (response.text && String(response.text).trim().length > 0)