tts tut jetz

This commit is contained in:
itsrubberduck
2025-09-15 11:58:11 +02:00
parent d4ce409641
commit 27e0507bbd
2 changed files with 38 additions and 155 deletions

View File

@@ -47,7 +47,7 @@ export default defineEventHandler(async (event) => {
}
// Nur Audio-Dateien servieren
const allowedExtensions = ['.ogg', '.wav', '.mp3'];
const allowedExtensions = ['.wav', '.mp3', '.ogg'];
const hasValidExtension = allowedExtensions.some(ext => filePath.toLowerCase().endsWith(ext));
if (!hasValidExtension) {