Skip to content

Commit

Permalink
Merge pull request authzed#120 from samkim/robots-header
Browse files Browse the repository at this point in the history
Override robots header for proxied requests
  • Loading branch information
samkim authored May 17, 2023
2 parents 550eb2d + 509caf2 commit fc9e951
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 fc9e951

Please sign in to comment.