Files
davila7__claude-code-templates/vercel.json
T
Dani 54666aac92 fix: configure Vercel output directory
- Set output directory to 'docs' folder
- Add build command to skip unnecessary build step
- Maintain existing rewrite rules for proper routing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:37:53 -04:00

54 lines
1021 B
JSON

{
"version": 2,
"public": true,
"buildCommand": "echo 'No build needed'",
"outputDirectory": "docs",
"rewrites": [
{
"source": "/api/(.*)",
"destination": "/api/$1"
},
{
"source": "/(.*)",
"destination": "/docs/$1"
}
],
"cleanUrls": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
},
{
"source": "/docs/js/(.*).js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/docs/css/(.*).css",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}