From 32d8b9028431855188b1e75f4feea46dc8719d7a Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Mon, 16 Feb 2026 21:52:48 +0100 Subject: [PATCH] feat: add rewrites for documentation URLs to improve navigation and accessibility --- next.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/next.config.ts b/next.config.ts index 282c61c..2bf94f0 100644 --- a/next.config.ts +++ b/next.config.ts @@ -21,6 +21,18 @@ const nextConfig: NextConfig = { }, ] }, + async rewrites() { + return [ + { + source: '/docs', + destination: 'https://ciphera-e9ed055e.mintlify.dev/docs', + }, + { + source: '/docs/:path*', + destination: 'https://ciphera-e9ed055e.mintlify.dev/docs/:path*', + }, + ] + }, } export default withPWA(nextConfig)