@@ -11,7 +11,6 @@ const {
1111 CMS_ADMIN_HOST = "admin.pycon.it" ,
1212 NEXT_PUBLIC_SITE_URL ,
1313 SENTRY_AUTH_TOKEN ,
14- POSTHOG_KEY ,
1514} = process . env ;
1615
1716const nextConfig = {
@@ -22,7 +21,6 @@ const nextConfig = {
2221 localeDetection : false ,
2322 } ,
2423 trailingSlash : false ,
25- skipTrailingSlashRedirect : true ,
2624 cacheHandler :
2725 process . env . VERCEL_ENV === "preview"
2826 ? undefined
@@ -91,14 +89,6 @@ const nextConfig = {
9189 source : "/graphql" ,
9290 destination : `${ API_URL_SERVER } /graphql` ,
9391 } ,
94- {
95- source : "/ingest/static/:path*" ,
96- destination : "https://eu-assets.i.posthog.com/static/:path*" ,
97- } ,
98- {
99- source : "/ingest/:path*" ,
100- destination : "https://eu.i.posthog.com/:path*" ,
101- } ,
10292 ] ;
10393
10494 if ( API_URL_SERVER . includes ( "http://backend" ) ) {
@@ -121,7 +111,6 @@ const nextConfig = {
121111 env : {
122112 API_URL : API_URL ,
123113 conferenceCode : CONFERENCE_CODE || "pycon-demo" ,
124- POSTHOG_KEY : POSTHOG_KEY ,
125114 cmsHostname : CMS_HOSTNAME ,
126115 NEXT_PUBLIC_SITE_URL : NEXT_PUBLIC_SITE_URL
127116 ? `https://${ NEXT_PUBLIC_SITE_URL } /`
0 commit comments