feat: support audio/mpeg for podcast and tts
This commit is contained in:
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user