Skip to content

Commit 1d6dede

Browse files
committed
fix: correct TTS content-type to audio/mpeg (Deepgram returns MP3)
1 parent 99b6dd3 commit 1d6dede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/simpatico-ats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4121,7 +4121,7 @@ async function handleTTS(request, env, ctx) {
41214121
// audioResponse is an ArrayBuffer or ReadableStream
41224122
const headers = {
41234123
...CORS_HEADERS,
4124-
"Content-Type": "audio/wav",
4124+
"Content-Type": "audio/mpeg",
41254125
"Cache-Control": "public, max-age=3600",
41264126
};
41274127

0 commit comments

Comments
 (0)