import type { MetadataRoute } from 'next'; export default function robots(): MetadataRoute.Robots { return { rules: [ { userAgent: '*', allow: '/', disallow: [ '/_next/', '/api/', '/admin/', ], }, { userAgent: 'Googlebot', allow: '/', disallow: [ '/_next/', '/api/', ], }, ], sitemap: 'https://www.novalon.cn/sitemap.xml', host: 'https://www.novalon.cn', }; }