diff --git a/src/app/robots.ts b/src/app/robots.ts new file mode 100644 index 000000000..0c36b9bc3 --- /dev/null +++ b/src/app/robots.ts @@ -0,0 +1,10 @@ +import type { MetadataRoute } from "next"; + +export default function robots(): MetadataRoute.Robots { + return { + rules: { + userAgent: "*", + }, + sitemap: new URL("sitemap.xml", process.env.NEXT_PUBLIC_URL).toString(), + }; +}