Files
davila7__claude-code-templates/vercel.json
T

111 lines
2.3 KiB
JSON

{
"version": 2,
"public": true,
"buildCommand": "echo 'No build needed'",
"outputDirectory": "docs",
"rewrites": [
{
"source": "/component/:type/:name*",
"destination": "/component.html"
},
{
"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/"
},
{
"source": "/agents",
"destination": "/index.html"
},
{
"source": "/commands",
"destination": "/index.html"
},
{
"source": "/settings",
"destination": "/index.html"
},
{
"source": "/hooks",
"destination": "/index.html"
},
{
"source": "/mcps",
"destination": "/index.html"
},
{
"source": "/templates",
"destination": "/index.html"
}
],
"cleanUrls": false,
"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": "/js/(.*).js",
"headers": [
{
"key": "Content-Type",
"value": "application/javascript; charset=utf-8"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/css/(.*).css",
"headers": [
{
"key": "Content-Type",
"value": "text/css; charset=utf-8"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*).json",
"headers": [
{
"key": "Content-Type",
"value": "application/json; charset=utf-8"
},
{
"key": "Cache-Control",
"value": "public, max-age=300"
}
]
}
]
}