File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ const nextConfig: NextConfig = {
2121 postHogBaseURL === "https://us.i.posthog.com"
2222 ? "https://us-assets.i.posthog.com"
2323 : postHogBaseURL === "https://eu.i.posthog.com"
24- ? "https://eu-assets.i.posthog.com"
25- : process . env . NEXT_PUBLIC_POSTHOG_ASSET_HOST || "" ;
24+ ? "https://eu-assets.i.posthog.com"
25+ : process . env . NEXT_PUBLIC_POSTHOG_ASSET_HOST || "" ;
2626
2727 return [
2828 {
@@ -39,6 +39,22 @@ const nextConfig: NextConfig = {
3939 } ,
4040 ] ;
4141 } ,
42+
43+ async redirects ( ) {
44+ return [
45+ {
46+ source : "/schedule" ,
47+ destination : "https://pycon-kenya-2025.sessionize.com/schedule" ,
48+ permanent : true , // Use true for 308 permanent redirect, false for 307 temporary
49+ } ,
50+ {
51+ source : "/speakers" ,
52+ destination : "https://pycon-kenya-2025.sessionize.com/speakers" ,
53+ permanent : true , // Use true for 308 permanent redirect, false for 307 temporary
54+ } ,
55+ ] ;
56+ } ,
57+
4258 // This is required to support PostHog trailing slash API requests
4359 skipTrailingSlashRedirect : true ,
4460} ;
You can’t perform that action at this time.
0 commit comments