import { NextResponse } from "next/server";

export const dynamic = "force-dynamic";

export async function POST() {
  return NextResponse.json(
    {
      error:
        "Legacy registration endpoint is disabled. Use Clerk sign-up instead.",
      redirectUrl: "/en/clerk-signup",
    },
    { status: 410 },
  );
}
