bookwiz.io / app / robots.ts
robots.ts
Raw
import { MetadataRoute } from 'next'

export default function robots(): MetadataRoute.Robots {
  return {
    rules: [
      {
        userAgent: '*',
        allow: '/',
        disallow: [
          '/api/',
          '/auth/',
          '/dashboard/',
          '/admin/',
          '/_next/',
          '/supabase/',
        ],
      },
    ],
    sitemap: 'https://bookwiz.io/sitemap.xml',
  }
}