Skip to content

Commit a230011

Browse files
committed
Update next.config.mjs
1 parent e36fcde commit a230011

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

apps/docs/next.config.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ const config = {
2121
rewrites() {
2222
return [
2323
{
24-
source: "/elements/:path*.mdx",
25-
destination: "/elements/llms.mdx/:path*",
24+
source: "/elements/:lang/:path*.mdx",
25+
destination: "/elements/:lang/llms.mdx/:path*",
2626
},
2727
{
28-
source: "/elements/:path*.md",
29-
destination: "/elements/llms.mdx/:path*",
28+
source: "/elements/:lang/:path*.md",
29+
destination: "/elements/:lang/llms.mdx/:path*",
3030
},
3131
{
32-
source: "/:path*.mdx",
33-
destination: "/llms.mdx/:path*",
32+
source: "/:lang/:path*.mdx",
33+
destination: "/:lang/llms.mdx/:path*",
3434
},
3535
{
36-
source: "/:path*.md",
37-
destination: "/llms.mdx/:path*",
36+
source: "/:lang/:path*.md",
37+
destination: "/:lang/llms.mdx/:path*",
3838
},
3939
];
4040
},

0 commit comments

Comments
 (0)