- 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>
12 lines
311 B
JSON
12 lines
311 B
JSON
{
|
|
"buildCommand": "cd frontend && npm install && npm run build",
|
|
"outputDirectory": "frontend/dist",
|
|
"functions": {
|
|
"api/**/*.js": { "maxDuration": 60 }
|
|
},
|
|
"rewrites": [
|
|
{ "source": "/api/(.*)", "destination": "/api/$1" },
|
|
{ "source": "/((?!api/).*)", "destination": "/index.html" }
|
|
]
|
|
}
|