refactor: remove .wav extension from uniqueId

This commit is contained in:
2025-06-04 14:36:20 +09:00
committed by Satsuki Akiba (aider)
parent 93d87c5997
commit 229b9750eb

View File

@ -82,7 +82,7 @@ async function main() {
.createHash("md5") .createHash("md5")
.update(category) .update(category)
.digest("hex"); .digest("hex");
const uniqueId = `${feedUrlHash}-${categoryHash}.wav`; const uniqueId = `${feedUrlHash}-${categoryHash}`;
const audioFilePath = await generateTTS(uniqueId, podcastContent); const audioFilePath = await generateTTS(uniqueId, podcastContent);
console.log(`音声ファイル生成完了: ${audioFilePath}`); console.log(`音声ファイル生成完了: ${audioFilePath}`);