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

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