Skip to content

Commit c7b36a1

Browse files
committed
feat: auto redirect to docs
1 parent f905392 commit c7b36a1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

apps/docs/next.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ const withMDX = createMDX();
66
const config = {
77
reactStrictMode: true,
88
eslint: { ignoreDuringBuilds: true },
9+
async redirects() {
10+
return [
11+
{
12+
source: '/',
13+
destination: '/docs',
14+
permanent: true,
15+
},
16+
];
17+
},
918
};
1019

1120
export default withMDX(config);

0 commit comments

Comments
 (0)