()
| 2 | import { HOME_DOMAIN } from "@/lib/construct-metadata"; |
| 3 | |
| 4 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected