mirror of
https://github.com/arthur-pbty/moon.git
synced 2026-06-03 15:07:31 +02:00
14 lines
295 B
TypeScript
14 lines
295 B
TypeScript
import type { MetadataRoute } from 'next';
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: '*',
|
|
allow: '/',
|
|
disallow: ['/api/'],
|
|
},
|
|
sitemap: 'https://moon.arthurp.fr/sitemap.xml',
|
|
host: 'https://moon.arthurp.fr',
|
|
};
|
|
}
|