import type { MetadataRoute } from "next";
import { publicBaseUrl } from "@/lib/comando";

export default function robots(): MetadataRoute.Robots {
  return {
    rules: [{ userAgent: "*", allow: "/", disallow: ["/checkout", "/confirmacao", "/participante", "/obrigado", "/masterclass/sala", "/masterclass/replay"] }],
    sitemap: new URL("/sitemap.xml", publicBaseUrl()).toString(),
  };
}
