From 438d5b5e339183789680bb62942537a701df97e9 Mon Sep 17 00:00:00 2001 From: Rachel Lee Nabors Date: Wed, 7 Jan 2026 22:02:22 +0000 Subject: [PATCH] Fix GitHub integration link by removing /reference suffix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mapToNewIA function was incorrectly appending /reference to all integration paths, causing GitHub to link to a non-existent reference page instead of the main integration page. This fix removes the automatic /reference suffix so GitHub links to the correct path. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- app/en/resources/integrations/components/toolkits.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/en/resources/integrations/components/toolkits.tsx b/app/en/resources/integrations/components/toolkits.tsx index ba7ff2baa..ea633942a 100644 --- a/app/en/resources/integrations/components/toolkits.tsx +++ b/app/en/resources/integrations/components/toolkits.tsx @@ -16,13 +16,13 @@ import { useFilterStore, useToolkitFilters } from "./use-toolkit-filters"; // Map old MCP server paths to new integration paths function mapToNewIA(oldLink: string): string { - // Pattern: /en/mcp-servers/{category}/{tool} -> /en/resources/integrations/{category}/{tool}/reference + // Pattern: /en/mcp-servers/{category}/{tool} -> /en/resources/integrations/{category}/{tool} const mcpServerPattern = /^\/en\/mcp-servers\/([^/]+)\/([^/]+)$/; const match = oldLink.match(mcpServerPattern); if (match) { const [, category, tool] = match; - return `/en/resources/integrations/${category}/${tool}/reference`; + return `/en/resources/integrations/${category}/${tool}`; } // Return original link if it doesn't match the pattern