14 lines
297 B
TypeScript
14 lines
297 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://paprikalaw.com";
|
|
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/"
|
|
},
|
|
sitemap: `${siteUrl}/sitemap.xml`
|
|
};
|
|
}
|