Skip to content

Commit eb23b09

Browse files
committed
redirect to docs
1 parent 1babc05 commit eb23b09

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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
output: 'export',
9+
async redirects() {
10+
return [
11+
{
12+
source: '/',
13+
destination: '/docs',
14+
permanent: false,
15+
},
16+
];
17+
},
918
};
1019

1120
export default withMDX(config);

0 commit comments

Comments
 (0)