forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
37 lines (33 loc) · 979 Bytes
/
Copy pathnext.config.mjs
File metadata and controls
37 lines (33 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { createMDX } from 'fumadocs-mdx/next';
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
env: {
RB2B_ID: process.env.RB2B_ID,
POSTHOG_KEY: process.env.POSTHOG_KEY,
POSTHOG_HOST: process.env.POSTHOG_HOST,
SCARF_PIXEL_ID: process.env.SCARF_PIXEL_ID,
CLERK_PUBLISHABLE_KEY: process.env.CLERK_PUBLISHABLE_KEY || "pk_live_Y2xlcmsuY29waWxvdGtpdC5haSQ",
},
async redirects() {
return [
{
source: '/coagents/tutorials/ai-travel-app/overview',
destination: '/coagents/tutorials/ai-travel-app',
permanent: true,
},
{
source: '/coagents/chat-ui/hitl/json-hitl',
destination: '/coagents/chat-ui/hitl',
permanent: true,
},
{
source: '/coagents/react-ui/frontend-functions',
destination: '/coagents/react-ui/hitl',
permanent: true,
}
];
},
};
export default withMDX(config);