refactor: remove guide route prefix (#11146)

* refactor: remove guide route prefix

* chore: implement backwards compat redirect

* Change guide redirect destination and permanence

Updated the redirect destination and permanence for the guide route.

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2025-10-07 10:50:53 +01:00
committed by GitHub
parent f109fc9b42
commit 7de5b4a349
9 changed files with 66 additions and 60 deletions

View File

@@ -39,8 +39,8 @@ export default {
},
{
source: '/guide/:path*',
destination: 'https://next.discordjs.guide/guide/:path*',
permanent: true,
destination: 'https://discordjs.guide/:path*',
permanent: false,
},
];
},