fix: remove disallow property of _next from robots

This commit is contained in:
nsylke
2023-09-20 20:46:23 -05:00
parent c247295131
commit 181af24b78

View File

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