Revert inert routing config for /growth and /.agents
Neither vercel.json rewrites nor redirects nor a _redirects file has any effect: the origin serves files literally and no routing layer is in front of it (no Vercel or Pages headers on any response). Leaving dead config in place would imply the paths are blocked when they are not. protection is robots.txt only (Disallow: /*.md$) until these docs live outside the deployed tree.
This commit is contained in:
1 parent
58b8234098
commit
6d25fc866d
2 files changed
+24
-12
No files matched your search
+24
-8
@@ -5,8 +5,6 @@
|
||||
"trailingSlash": true,
|
||||
"cleanUrls": true,
|
||||
"redirects": [
|
||||
{ "source": "/.agents/:path*", "destination": "/404.html", "permanent": false },
|
||||
{ "source": "/growth/:path*", "destination": "/404.html", "permanent": false },
|
||||
{
|
||||
"source": "/en/index.html",
|
||||
"destination": "/en/",
|
||||
@@ -257,27 +255,45 @@
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{ "key": "X-Content-Type-Options", "value": "nosniff" },
|
||||
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
|
||||
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
|
||||
{
|
||||
"key": "X-Content-Type-Options",
|
||||
"value": "nosniff"
|
||||
},
|
||||
{
|
||||
"key": "X-Frame-Options",
|
||||
"value": "SAMEORIGIN"
|
||||
},
|
||||
{
|
||||
"key": "Referrer-Policy",
|
||||
"value": "strict-origin-when-cross-origin"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/css/(.*)",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/js/(.*)",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/components/(.*)",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user