diff --git a/CloudServer/server.js b/CloudServer/server.js index c7cada8..73acfd2 100644 --- a/CloudServer/server.js +++ b/CloudServer/server.js @@ -2603,7 +2603,7 @@ app.post('/api/tts/import', express.json(), (req, res) => { const jaSource = path.join(uploadDir, jaTemp); const safeStationCode = String(stationCode).replace(/\//g, '-'); - const targetDir = type === 'line' ? audioBeepDir : audioStationDir; + const targetDir = type === 'line' ? audioVoiceDir : audioStationDir; const zhDest = path.join(targetDir, `ch-${safeStationCode}.wav`); const jaDest = path.join(targetDir, `ja-${safeStationCode}.wav`);