mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 08:05:23 -04:00
15 lines
300 B
TypeScript
15 lines
300 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;
|