import type { MetadataRoute } from "next"; // The public site is indexed; the admin, previews and API never are (ROADMAP-v3 ยง11). The sitemap // comes with the published pages. export default function robots(): MetadataRoute.Robots { return { rules: [{ userAgent: "*", allow: "/", disallow: ["/admin", "/preview", "/auth", "/api"] }] }; }