feat: add rewrites for documentation URLs to improve navigation and accessibility

This commit is contained in:
Usman Baig
2026-02-16 21:52:48 +01:00
parent a900e46e63
commit 32d8b90284

View File

@@ -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) export default withPWA(nextConfig)