Skip to content

Commit 7037ad5

Browse files
committed
Revert 4ede4c4
1 parent 4ede4c4 commit 7037ad5

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

next.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ let nextConfig: NextConfig = {
1616
},
1717
rewrites: async () => {
1818
return [
19+
{
20+
source: "/_proxy/ingest/static/:path*",
21+
destination: "https://us-assets.i.posthog.com/static/:path*",
22+
},
23+
{
24+
source: "/_proxy/ingest/:path*",
25+
destination: "https://us.i.posthog.com/:path*",
26+
},
1927
{
2028
source: "/healthz",
2129
destination: "/api/healthz",

vercel.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
"PUPPETEER_SKIP_DOWNLOAD": "1"
88
}
99
},
10-
"rewrites": [
11-
{
12-
"source": "/_proxy/ingest/static/:path*",
13-
"destination": "https://us-assets.i.posthog.com/static/:path*"
14-
},
15-
{
16-
"source": "/_proxy/ingest/:path*",
17-
"destination": "https://us.i.posthog.com/:path*"
18-
}
19-
],
2010
"crons": [
2111
{
2212
"path": "/api/cron/due-drain",

0 commit comments

Comments
 (0)