Skip to content

Commit b7047a8

Browse files
fix: Update MCP documentation redirects (#700)
Fix redirect URL in handleRedirects function
1 parent 32e4a96 commit b7047a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/libraries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ export const mcp: LibrarySlim = {
413413
handleRedirects: (href: string) => {
414414
// All /mcp routes redirect to CLI MCP docs
415415
if (/\/mcp(\/|$)/.test(href)) {
416-
throw redirect({ href: '/cli/latest/docs/mcp/mcp-overview' })
416+
throw redirect({ href: '/cli/latest/docs/mcp/overview' })
417417
}
418418
},
419419
}

0 commit comments

Comments
 (0)