mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
fix(website): update url
This commit is contained in:
@@ -19,7 +19,7 @@ export default async function middleware(request: NextRequest) {
|
||||
}
|
||||
|
||||
if (request.nextUrl.pathname.includes('discord.js')) {
|
||||
return NextResponse.redirect('https://discord.js.org/#/docs/discord.js');
|
||||
return NextResponse.redirect('https://old.discordjs.dev/#/docs/discord.js');
|
||||
}
|
||||
|
||||
if (PACKAGES.some((pkg) => request.nextUrl.pathname.includes(pkg))) {
|
||||
|
||||
Reference in New Issue
Block a user