Skip to content

Commit 4c7ca0f

Browse files
authored
Permanently consolidate equivalent legacy docs onto the custom domain
1 parent 0c521ad commit 4c7ca0f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎web/next.config.mjs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ const nextConfig = {
106106
skipTrailingSlashRedirect: true,
107107
async redirects() {
108108
return [
109+
{
110+
source: '/docs/:path*',
111+
has: [{ type: 'host', value: '(?:www\\.)?levelcode\\.vercel\\.app' }],
112+
destination: 'https://levelcode.myndlabs.tech/docs/:path*',
113+
permanent: true,
114+
},
109115
{
110116
source: '/:path*',
111117
has: [

0 commit comments

Comments
 (0)