Files
davila7__claude-code-templates/vercel.json
T
2025-09-02 09:15:15 -04:00

75 lines
1.6 KiB
JSON

{
"version": 2,
"public": true,
"buildCommand": "echo 'No build needed'",
"outputDirectory": "docs",
"rewrites": [
{
"source": "/api/(.*)",
"destination": "/api/$1"
},
{
"source": "/blog",
"destination": "/blog/"
},
{
"source": "/supabase-claude-code-integration",
"destination": "/blog/supabase-claude-code-integration/"
},
{
"source": "/nextjs-vercel-claude-code-integration",
"destination": "/blog/nextjs-vercel-claude-code-integration/"
}
],
"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"
}
]
},
{
"source": "/docs/blog/(.*).js",
"headers": [
{
"key": "Content-Type",
"value": "application/javascript; charset=utf-8"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}