diff --git a/packages/keychain/.gitignore b/packages/keychain/.gitignore index b43362b0c..e9cf4bd77 100644 --- a/packages/keychain/.gitignore +++ b/packages/keychain/.gitignore @@ -23,3 +23,4 @@ dist-ssr *.sln *.sw? stats.html +.vercel diff --git a/packages/keychain/vercel.json b/packages/keychain/vercel.json index 3a7d30719..1ded8a058 100644 --- a/packages/keychain/vercel.json +++ b/packages/keychain/vercel.json @@ -4,7 +4,7 @@ }, "headers": [ { - "source": "/ingest/static/:path*", + "source": "/ingest/static/:path(.*)", "headers": [ { "key": "Access-Control-Allow-Credentials", @@ -25,7 +25,7 @@ ] }, { - "source": "/ingest/:path*", + "source": "/ingest/:path(.*)", "headers": [ { "key": "Access-Control-Allow-Credentials", @@ -48,11 +48,11 @@ ], "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*" } ] diff --git a/packages/profile/vercel.json b/packages/profile/vercel.json index 0634b3d05..49fcb885e 100644 --- a/packages/profile/vercel.json +++ b/packages/profile/vercel.json @@ -4,7 +4,7 @@ }, "headers": [ { - "source": "/ingest/static/:path*", + "source": "/ingest/static/:path(.*)", "headers": [ { "key": "Access-Control-Allow-Credentials", @@ -25,7 +25,7 @@ ] }, { - "source": "/ingest/:path*", + "source": "/ingest/:path(.*)", "headers": [ { "key": "Access-Control-Allow-Credentials",