mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
1aa6c47d21
- Add robots.txt with crawl directives and AI crawler policies - Add canonical tags to all pages via DashboardLayout - Add meta descriptions (unique per page type) - Add Open Graph and Twitter Card meta tags - Add WebSite + Organization JSON-LD schema (global) - Add SoftwareApplication JSON-LD schema (homepage) - Optimize page titles with keywords and component counts - Add security headers (HSTS, X-Frame-Options, CSP) to vercel.json SEO Health Score: 22/100 → ~47/100 (estimated) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"crons": [
|
|
{ "path": "/api/claude-code-check", "schedule": "*/30 * * * *" },
|
|
{ "path": "/api/health-check", "schedule": "*/15 * * * *" }
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{ "key": "X-Content-Type-Options", "value": "nosniff" },
|
|
{ "key": "X-Frame-Options", "value": "DENY" },
|
|
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" },
|
|
{ "key": "Strict-Transport-Security", "value": "max-age=31536000; includeSubDomains" },
|
|
{ "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=()" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/components.json",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Access-Control-Allow-Methods", "value": "GET" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/trending-data.json",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Access-Control-Allow-Methods", "value": "GET" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/(.*)",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Access-Control-Allow-Methods", "value": "GET, POST, PUT, PATCH, DELETE, OPTIONS" },
|
|
{ "key": "Access-Control-Allow-Headers", "value": "Content-Type, Authorization" }
|
|
]
|
|
}
|
|
]
|
|
}
|