Skip to content

Commit

Permalink
Update vercel rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 19, 2024
1 parent 5a00c16 commit e2373f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/keychain/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ dist-ssr
*.sln
*.sw?
stats.html
.vercel
10 changes: 5 additions & 5 deletions packages/keychain/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"headers": [
{
"source": "/ingest/static/:path*",
"source": "/ingest/static/:path(.*)",
"headers": [
{
"key": "Access-Control-Allow-Credentials",
Expand All @@ -25,7 +25,7 @@
]
},
{
"source": "/ingest/:path*",
"source": "/ingest/:path(.*)",
"headers": [
{
"key": "Access-Control-Allow-Credentials",
Expand All @@ -48,12 +48,12 @@
],
"rewrites": [
{
"source": "/ingest/static/:path*",
"source": "/ingest/static/:path(.*)",
"destination": "https://us-assets.i.posthog.com/static/:path*"
},
{
"source": "/ingest/:path*",
"source": "/ingest/:path(.*)",
"destination": "https://us.i.posthog.com/:path*"
}
]
}
}
4 changes: 2 additions & 2 deletions packages/profile/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
},
"headers": [
{
"source": "/ingest/static/:path*",
"source": "/ingest/static/:path(.*)",
"headers": [
{
"key": "Access-Control-Allow-Credentials",
Expand All @@ -25,7 +25,7 @@
]
},
{
"source": "/ingest/:path*",
"source": "/ingest/:path(.*)",
"headers": [
{
"key": "Access-Control-Allow-Credentials",
Expand Down

0 comments on commit e2373f4

Please sign in to comment.