Some checks are pending
Deploy to Cloudflare Workers (OpenNext) / deploy (push) Waiting to run
14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { SITE_URL } from "@/lib/seo";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
disallow: ["/api/", "/payment/success"],
|
|
},
|
|
sitemap: `${SITE_URL}/sitemap.xml`,
|
|
};
|
|
}
|