Skip to content

Commit

Permalink
Remove decide rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 19, 2024
1 parent fd44b11 commit 8165145
Showing 1 changed file with 5 additions and 30 deletions.
35 changes: 5 additions & 30 deletions packages/profile/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,6 @@
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
},
{
"source": "/decide",
"headers": [
{
"key": "Access-Control-Allow-Credentials",
"value": "true"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"
},
{
"key": "Access-Control-Allow-Headers",
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
]
}
],
"rewrites": [
Expand All @@ -73,16 +52,12 @@
"destination": "/"
},
{
"source": "/ingest/static/:path*",
"destination": "https://us-assets.i.posthog.com/static/:path*"
},
{
"source": "/ingest/:path*",
"destination": "https://us.i.posthog.com/:path*"
"source": "/ingest/static/:path(.*)",
"destination": "https://us-assets.i.posthog.com/static/:path"
},
{
"source": "/decide",
"destination": "https://us.i.posthog.com/decide"
"source": "/ingest/:path(.*)",
"destination": "https://us.i.posthog.com/:path"
}
]
}
}

0 comments on commit 8165145

Please sign in to comment.