vercel.json
Rama main · réplica de lectura del repositorio original.
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"functions": {
"api/mcp.ts": { "maxDuration": 60 }
},
"routes": [
{
"src": "/(.*)",
"headers": {
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "SAMEORIGIN",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Permissions-Policy": "camera=(self), microphone=(self), geolocation=(), payment=(self)"
},
"continue": true
},
{
"src": "/robots\\.txt",
"dest": "/api/robots"
},
{
"src": "/sitemap\\.xml",
"dest": "/api/sitemap"
},
{
"src": "/llms\\.txt",
"dest": "/api/llms"
},
{
"src": "/api/feedback/(.*)",
"dest": "/api/feedback?sub=$1"
},
{
"src": "/mcp(?:/(.*))?",
"dest": "/api/mcp?path=$1"
},
{
"src": "/llms-full\\.txt",
"dest": "/api/llms?variant=full"
},
{
"src": "^/(?!api/)(?!assets/)(?!.*\\.[a-zA-Z0-9]{2,5}$)(.*)$",
"dest": "/api/html?path=/$1"
},
{
"handle": "filesystem"
},
{
"src": "/(.*)",
"dest": "/index.html"
}
]
}