Skip to content

Commit ced61c6

Browse files
committed
Add root redirect
1 parent 2d0a9eb commit ced61c6

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
@@ -27,6 +27,20 @@ const config = {
2727
},
2828
];
2929
},
30+
31+
// biome-ignore lint/suspicious/useAwait: "redirects is async"
32+
async redirects() {
33+
return [
34+
{
35+
source: "/elements/overview",
36+
destination: "/elements",
37+
},
38+
{
39+
source: "/overview",
40+
destination: "/",
41+
},
42+
];
43+
},
3044
};
3145

3246
export default withMDX(withMicrofrontends(config));

0 commit comments

Comments
 (0)