HaoAws/app/robots.ts

13 lines
304 B
TypeScript
Raw Normal View History

2025-09-16 16:37:48 +08:00
import { MetadataRoute } from 'next';
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
disallow: ['/api/', '/_next/', '/admin/'],
},
sitemap: 'https://haoaws.com/sitemap.xml',
};
}