From 489571205d4892f7e043ba5673beab517f4e496b Mon Sep 17 00:00:00 2001 From: yesoreyeram <153843+yesoreyeram@users.noreply.github.com> Date: Fri, 11 Apr 2025 15:12:14 +0100 Subject: [PATCH] fixes #246 --- docs/next.config.ts | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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);