Files
mintel.me/apps/web/app/robots.ts
T
mmintelandClaude Opus 5.5 e9f05b02fc feat: search metadata, structured data and indexing rules
Only the production deployment may be indexed; testing and preview builds
answer with noindex and a closed robots file. The homepage now describes the
person, the services and the FAQ as structured data, and title, description
and the 404 page are written for what people search for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:07:03 +02:00

18 lines
457 B
TypeScript

import type { MetadataRoute } from "next";
import { INDEXING, SITE_URL } from "@/src/content/site";
import { robotsFile } from "@/src/domain/indexing";
export default function robots(): MetadataRoute.Robots {
const { rules, sitemap } = robotsFile(INDEXING, SITE_URL);
return {
rules: {
...rules,
disallow:
typeof rules.disallow === "string"
? rules.disallow
: [...rules.disallow],
},
sitemap,
};
}