Skip to content

Commit

Permalink
Override robots header for proxied requests
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim committed May 17, 2023
1 parent 550eb2d commit 509caf2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
{
"version": 2,
"headers": [
{
"source": "/(.*)",
"has": [
{
"type": "host",
"value": "authzed.com"
}
],
"headers": [
{
"key": "x-robots-tag",
"value": "index, follow"
}
]
},
{
"source": "/(.*)",
"has": [
{
"type": "host",
"value": "docs-authzed.vercel.app"
}
],
"headers": [
{
"key": "x-robots-tag",
"value": "index, follow"
}
]
}
],
"redirects": [
{
"source": "/",
Expand Down

0 comments on commit 509caf2

Please sign in to comment.