diff --git a/cspell-allow-list.txt b/cspell-allow-list.txt index 4fdce36b5..a10f16fac 100644 --- a/cspell-allow-list.txt +++ b/cspell-allow-list.txt @@ -355,6 +355,7 @@ nodeport noeviction nofail noheadings +noindex nonexistenturl nonprivileged noout diff --git a/vercel.json b/vercel.json index e47d609c2..f5c404f23 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,14 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "fluid": true, - "ignoreCommand": "sh dev/vercel-ignore-build.sh" + "ignoreCommand": "sh dev/vercel-ignore-build.sh", + "headers": [ + { + "source": "/(.*)", + "has": [ + {"type": "host", "value": "^\\d+\\.\\d+\\.sourcegraph\\.com$"} + ], + "headers": [{"key": "X-Robots-Tag", "value": "noindex, nofollow"}] + } + ] }