fix: corregir FUNCTION_INVOCATION_FAILED y audio m4a de Instagram
- vercel.json: revertir maxDuration a 60s (300 rompe planes Hobby) - transcriptor: detectar extensión real del audio (TikTok→mp3, Instagram→m4a) para enviar el MIME type correcto a Whisper; enviarlo como mp3 cuando es m4a causaba fallo de decodificación Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
"buildCommand": "cd frontend && npm install && npm run build",
|
||||
"outputDirectory": "frontend/dist",
|
||||
"functions": {
|
||||
"api/analizar.js": { "maxDuration": 300 },
|
||||
"api/generar.js": { "maxDuration": 120 }
|
||||
"api/**/*.js": { "maxDuration": 60 }
|
||||
},
|
||||
"rewrites": [
|
||||
{ "source": "/api/(.*)", "destination": "/api/$1" },
|
||||
|
||||
Reference in New Issue
Block a user