robots.ts 250 B

123456789101112
  1. import { uiUrl } from '@/config/site';
  2. import { MetadataRoute } from 'next';
  3. export default function robots(): MetadataRoute.Robots {
  4. return {
  5. rules: {
  6. userAgent: '*',
  7. allow: '/',
  8. },
  9. sitemap: `${uiUrl}/sitemap.xml`,
  10. };
  11. }