feat: update podcast and tts services for next.js

This commit is contained in:
2025-06-04 09:06:49 +09:00
parent 977029628e
commit 31ae637737
2 changed files with 3 additions and 6 deletions

View File

@ -21,7 +21,7 @@ export async function generateTTS(
throw new Error("TTSのAudioStreamが空です");
}
const outputDir = path.join(__dirname, "../static/podcast_audio");
const outputDir = path.join(__dirname, "../public/podcast_audio");
if (!fs.existsSync(outputDir)) {
fs.mkdirSync(outputDir, { recursive: true });
}