MCPcopy Create free account
hub / github.com/Codehagen/Badget / robots

Function robots

src/app/robots.ts:4–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { HOME_DOMAIN } from "@/lib/construct-metadata";
3
4export default function robots(): MetadataRoute.Robots {
5 return {
6 rules: [
7 {
8 userAgent: "*",
9 allow: "/",
10 disallow: [
11 "/api/",
12 "/admin/",
13 "/_next/",
14 "/dashboard/",
15 "/settings/",
16 "/onboarding/",
17 "/auth/",
18 "/login/",
19 "/register/",
20 "/checkout/",
21 "/billing/",
22 "/account/",
23 "/workspace/",
24 "/app/",
25 "/private/",
26 "*.json",
27 ],
28 },
29 ],
30 sitemap: `${HOME_DOMAIN}/sitemap.xml`,
31 };
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected