Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

300 B
Raw Blame
import { redirect } from "next/navigation";

/** Legacy route — dead code now lives as a Code Health tab. */
export default async function LegacyRedirect({
  params,
}: {
  params: Promise<{ id: string }>;
}) {
  const { id } = await params;
  redirect(`/repos/${id}/code-health?tab=dead-code`);
}