Skip to content

Commit

Permalink
feat: redirect /docs to /docs/intro
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed May 17, 2024
1 parent 0997ec0 commit d197d08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs-site/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ import { createContentlayerPlugin, withContentlayer } from 'next-contentlayer';
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
redirects() {
return [
{
source: '/docs',
destination: '/docs/intro',
// permanent: true,
},
];
},
};

// const withContentlayer = createContentlayerPlugin({});
Expand Down

0 comments on commit d197d08

Please sign in to comment.