feat: support audio/mpeg for podcast and tts

This commit is contained in:
2025-06-04 16:18:33 +09:00
committed by Satsuki Akiba (aider)
parent 60799ae9b7
commit e9e733ce8a
3 changed files with 6 additions and 2 deletions

View File

@ -86,7 +86,7 @@ app.get("/podcast_audio/*", async (c) => {
const file = Bun.file(audioFilePath);
if (await file.exists()) {
const blob = await file.arrayBuffer();
return c.body(blob, 200, { "Content-Type": "audio/wav" });
return c.body(blob, 200, { "Content-Type": "audio/mpeg" });
}
return c.notFound();
});