Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

445 B
Raw Blame
import type { MetadataRoute } from 'next';
import { SITE_URL } from '@/lib/site';

export default function robots(): MetadataRoute.Robots {
  return {
    rules: [
      {
        userAgent: '*',
        allow: '/',
        disallow: ['/api/', '/d/'],
      },
    ],
    sitemap: [
      `${SITE_URL}/sitemap.xml`,
      `${SITE_URL}/blog/sitemap.xml`,
      `${SITE_URL}/team/sitemap.xml`,
      `${SITE_URL}/legal/sitemap.xml`,
    ],
  };
}