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:
1 parent
d82af02ccd
commit
3c961abd4a
1 file changed
+4
@@ -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": "/(.*)",
|
||||||
|
|||||||
Reference in new issue
Block a user