1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-27 17:05:42 -04:00
Files
jarv.is/app/robots.ts
2025-05-02 22:04:26 -04:00

15 lines
299 B
TypeScript

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