mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-05 08:13:06 +08:00
10 lines
239 B
TypeScript
10 lines
239 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { siteUrl } from "@/lib/site";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: { userAgent: "*", allow: "/" },
|
|
sitemap: `${siteUrl}/sitemap.xml`,
|
|
};
|
|
}
|