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

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