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

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