mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
75 lines
1.6 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |