Skip to content

Commit 1cf1dd8

Browse files
committed
Add redirects
1 parent d79ebb7 commit 1cf1dd8

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

apps/website/next.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ const config: NextConfig = {
77
experimental: {
88
turbopackFileSystemCacheForDev: true,
99
},
10+
11+
redirects: async () => {
12+
return [
13+
{
14+
source: "/docs/cjk-support",
15+
destination: "/docs/plugins/cjk",
16+
permanent: true,
17+
},
18+
{
19+
source: "/docs/mermaid",
20+
destination: "/docs/plugins/mermaid",
21+
permanent: true,
22+
},
23+
{
24+
source: "/docs/mathematics",
25+
destination: "/docs/plugins/math",
26+
permanent: true,
27+
},
28+
];
29+
},
1030
};
1131

1232
export default withMDX(config);

0 commit comments

Comments
 (0)