copilot_work_3 / src /app /robots.ts
Suchinthana Wijesundara
Init commit with project codes
f64a3bf
Raw History Blame
326 Bytes
import type { MetadataRoute } from "next";
export const dynamic = "force-dynamic";
export default function robots(): MetadataRoute.Robots {
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL ?? "https://chainkit.community";
return {
rules: { userAgent: "*", allow: "/" },
sitemap: `${siteUrl}/sitemap.xml`,
};
}