mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
import { MetadataRoute } from 'next';
|
|
|
|
import { getBaseUrl } from '@documenso/lib/universal/get-base-url';
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: '*',
|
|
allow: '/*',
|
|
disallow: ['/_next/*'],
|
|
},
|
|
sitemap: `${getBaseUrl()}/sitemap.xml`,
|
|
};
|
|
}
|