1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:25:22 -04:00
jarv.is/app/robots.ts

15 lines
315 B
TypeScript

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