summaryrefslogtreecommitdiff
path: root/apps/web/src/app/robots.ts
blob: 6f316d982a762b5af4bb2255d5d53b972054981a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type { MetadataRoute } from "next";
import { SITE_URL } from "@/site/brand";

export const dynamic = "force-static";

export default function robots(): MetadataRoute.Robots {
	return {
		rules: {
			userAgent: "*",
			allow: "/",
			disallow: ["/_next/", "/projects/", "/editor/"],
		},
		sitemap: `${SITE_URL}/sitemap.xml`,
	};
}