Files
vibn-frontend/app/[workspace]/project/[projectId]/(workspace)/prd/page.tsx
Mark Henderson 6f79a88abd fix(gitea-bot): add write:organization scope so bot can create repos
Without this the bot PAT 403s on POST /orgs/{org}/repos, which is
the single most important operation — creating new project repos
inside the workspace's Gitea org.

Made-with: Cursor
2026-04-21 11:05:55 -07:00

12 lines
363 B
TypeScript

import { redirect } from "next/navigation";
/** Legacy URL — project work now lives under Tasks (PRD is the first task). */
export default async function PrdRedirectPage({
params,
}: {
params: Promise<{ workspace: string; projectId: string }>;
}) {
const { workspace, projectId } = await params;
redirect(`/${workspace}/project/${projectId}/tasks`);
}