Skip to content

Commit cc3fbee

Browse files
committed
Update next.config.mjs
1 parent 9095a4a commit cc3fbee

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

apps/docs/next.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ const config = {
1818
],
1919
},
2020

21+
// biome-ignore lint/suspicious/useAwait: "rewrites is async"
22+
async rewrites() {
23+
return [
24+
{
25+
source: "/elements/docs/:path*.mdx",
26+
destination: "/elements/llms.mdx/:path*",
27+
},
28+
{
29+
source: "/elements/docs/:path*.md",
30+
destination: "/elements/llms.mdx/:path*",
31+
},
32+
];
33+
},
34+
2135
// biome-ignore lint/suspicious/useAwait: "redirects is async"
2236
async redirects() {
2337
return [

0 commit comments

Comments
 (0)