diff --git a/docs/next.config.ts b/docs/next.config.ts index 70f005b33f3..1f307593a3d 100644 --- a/docs/next.config.ts +++ b/docs/next.config.ts @@ -1,6 +1,6 @@ -import { createMDX } from 'fumadocs-mdx/next' +import { createMDX } from "fumadocs-mdx/next"; -const withMDX = createMDX() +const withMDX = createMDX(); /** @type {import('next').NextConfig} */ const config = { @@ -8,12 +8,17 @@ const config = { async redirects() { return [ { - source: '/docs', - destination: '/docs/introduction', + source: "/", + destination: "/docs/introduction", permanent: true, }, - ] + { + source: "/docs", + destination: "/docs/introduction", + permanent: true, + }, + ]; }, -} +}; -export default withMDX(config) +export default withMDX(config);