diff --git a/app/bounties/[id]/page.tsx b/app/bounties/[id]/page.tsx new file mode 100644 index 00000000..de25435f --- /dev/null +++ b/app/bounties/[id]/page.tsx @@ -0,0 +1,10 @@ +import { permanentRedirect } from "next/navigation"; + +type BountiesAliasDetailPageProps = { + params: Promise<{ id: string }>; +}; + +export default async function BountiesAliasDetailPage({ params }: BountiesAliasDetailPageProps) { + const { id } = await params; + permanentRedirect(`/bounty/${id}`); +} diff --git a/app/bounties/page.tsx b/app/bounties/page.tsx new file mode 100644 index 00000000..ba961815 --- /dev/null +++ b/app/bounties/page.tsx @@ -0,0 +1,5 @@ +import { permanentRedirect } from "next/navigation"; + +export default function BountiesAliasPage() { + permanentRedirect("/bounty"); +}