mirror of
https://github.com/documenso/documenso
synced 2026-05-24 01:18:23 +00:00
fix: remove disallow property of _next from robots
This commit is contained in:
parent
32a21999ef
commit
b2ea5f0e47
1 changed files with 5 additions and 5 deletions
|
|
@ -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`,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue