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:
Hermes Agent committed 2026-10-24 19:12:59 +00:00
1 parent 58b8234098
commit 6d25fc866d
2 files changed
+24 -12

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
# Cloudflare Pages-style redirects. Vercel rewrites/redirects do not apply here:
# the site is served by Cloudflare, and static files win before any framework config.
/.agents/* /404.html 302
/growth/* /404.html 302
+24 -8
View File
@@ -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"
}
]
}
]