13 lines
276 B
TypeScript
13 lines
276 B
TypeScript
|
import type { MetadataRoute } from "next";
|
||
|
|
||
|
export default function robots(): MetadataRoute.Robots {
|
||
|
return {
|
||
|
rules: {
|
||
|
userAgent: "*",
|
||
|
allow: "/",
|
||
|
disallow: "/unsubscribe"
|
||
|
},
|
||
|
sitemap: `${process.env.NEXT_PUBLIC_WEBSITE_URL}/sitemap.xml`
|
||
|
};
|
||
|
}
|