1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00
Files
jarv.is/app/robots.ts
T
2026-02-19 14:12:42 -05:00

14 lines
274 B
TypeScript

import type { MetadataRoute } from "next";
const robots = (): MetadataRoute.Robots => ({
rules: [
{
userAgent: "*",
disallow: ["/api/", "/404", "/500"],
},
],
sitemap: `${process.env.NEXT_PUBLIC_BASE_URL}/sitemap.xml`,
});
export default robots;