13 lines
263 B
TypeScript
13 lines
263 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { absoluteUrl } from "@/lib/site";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
sitemap: absoluteUrl("/sitemap.xml"),
|
|
};
|
|
}
|