mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 12:58:28 -04:00
17 lines
355 B
TypeScript
17 lines
355 B
TypeScript
import { BASE_URL } from "../lib/config/constants";
|
|
import type { MetadataRoute } from "next";
|
|
|
|
export const dynamic = "force-static";
|
|
|
|
const robots = (): MetadataRoute.Robots => ({
|
|
rules: [
|
|
{
|
|
userAgent: "*",
|
|
disallow: ["/_stream/", "/api/", "/404", "/500"],
|
|
},
|
|
],
|
|
sitemap: `${BASE_URL}/sitemap.xml`,
|
|
});
|
|
|
|
export default robots;
|