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 = {
21
21
postHogBaseURL === "https://us.i.posthog.com"
22
22
? "https://us-assets.i.posthog.com"
23
23
: 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 || "" ;
26
26
27
27
return [
28
28
{
@@ -39,6 +39,22 @@ const nextConfig: NextConfig = {
39
39
} ,
40
40
] ;
41
41
} ,
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
+
42
58
// This is required to support PostHog trailing slash API requests
43
59
skipTrailingSlashRedirect : true ,
44
60
} ;
You can’t perform that action at this time.
0 commit comments