Skip to content

Commit

Permalink
switch to cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
edd committed Oct 25, 2023
1 parent 6c6f571 commit f9e3883
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"redirects": [
{
"source": "/:path((?!restricted|assets).*)",
"source": "/:path((?!restricted|static).*)",
"has": [
{
"type": "header",
Expand All @@ -17,16 +17,15 @@
],
"missing": [
{
"type": "header",
"key": "User-Agent",
"value": ".*HeadlessChrome.*"
"type": "cookie",
"key": "skip-geo-redirect"
}
],
"permanent": false,
"destination": "/restricted"
},
{
"source": "/:path((?!restricted|assets).*)",
"source": "/:path((?!restricted|static).*)",
"has": [
{
"type": "header",
Expand All @@ -36,16 +35,15 @@
],
"missing": [
{
"type": "header",
"key": "User-Agent",
"value": ".*HeadlessChrome.*"
"type": "cookie",
"key": "skip-geo-redirect"
}
],
"permanent": false,
"destination": "/restricted"
},
{
"source": "/:path((?!restricted|assets).*)",
"source": "/:path((?!restricted|static).*)",
"has": [
{
"type": "header",
Expand All @@ -55,16 +53,15 @@
],
"missing": [
{
"type": "header",
"key": "User-Agent",
"value": ".*HeadlessChrome.*"
"type": "cookie",
"key": "skip-geo-redirect"
}
],
"permanent": false,
"destination": "/restricted"
},
{
"source": "/:path((?!restricted|assets).*)",
"source": "/:path((?!restricted|static).*)",
"has": [
{
"type": "header",
Expand All @@ -74,16 +71,15 @@
],
"missing": [
{
"type": "header",
"key": "User-Agent",
"value": ".*HeadlessChrome.*"
"type": "cookie",
"key": "skip-geo-redirect"
}
],
"permanent": false,
"destination": "/restricted"
},
{
"source": "/:path((?!restricted).*)",
"source": "/:path((?!restricted|static).*)",
"has": [
{
"type": "header",
Expand All @@ -93,9 +89,8 @@
],
"missing": [
{
"type": "header",
"key": "User-Agent",
"value": ".*HeadlessChrome.*"
"type": "cookie",
"key": "skip-geo-redirect"
}
],
"permanent": false,
Expand Down

0 comments on commit f9e3883

Please sign in to comment.