Merge pull request #395 from nsylke/nsylke-patch-10

fix: remove disallow property of _next from robots
This commit is contained in:
Lucas Smith
2023-09-21 22:36:30 +10:00
committed by GitHub

View File

@@ -4,11 +4,11 @@ import { getBaseUrl } from '@documenso/lib/universal/get-base-url';
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/*',
disallow: ['/_next/*'],
},
rules: [
{
userAgent: '*',
},
],
sitemap: `${getBaseUrl()}/sitemap.xml`,
};
}