Do not serve internal strategy paths publicly

.vercelignore does not take effect on this deployment (growth/PLAN.md
returned 200 live after being added to it), so block /.agents/* and
/growth/* with rewrites to a nonexistent path instead.
This commit is contained in:
Hermes Agent committed 2026-10-24 19:03:44 +00:00
1 parent d82af02ccd
commit 3c961abd4a
1 file changed
+4
+4
View File
@@ -251,6 +251,10 @@
"permanent": true "permanent": true
} }
], ],
"rewrites": [
{ "source": "/.agents/:path*", "destination": "/__internal-only" },
{ "source": "/growth/:path*", "destination": "/__internal-only" }
],
"headers": [ "headers": [
{ {
"source": "/(.*)", "source": "/(.*)",