Skip to content

Commit 51b6355

Browse files
authored
readme: fix sitemap typing in robots example
1 parent bef42ad commit 51b6355

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ const robotsTxt = generateRobotsTxt([
8484
allow: ['/'],
8585
disallow: ['/admin', '/login'],
8686
crawlDelay: 1,
87-
sitemap: 'https://example.com/sitemap.xml'
87+
sitemap: ['https://example.com/sitemap.xml']
8888
},
8989
{
9090
userAgent: 'Googlebot',
9191
allow: ['/'],
9292
disallow: ['/admin', '/login'],
9393
crawlDelay: 1,
94-
sitemap: 'https://example.com/sitemap.xml'
94+
sitemap: ['https://example.com/sitemap.xml']
9595
}
9696
]
9797
);
@@ -446,4 +446,4 @@ Please make sure to update tests as appropriate.
446446

447447
## Support
448448

449-
If you like the project and want to support it you can sponsor it on GitHub, or even better, open up PR's and contribute to the project.
449+
If you like the project and want to support it you can sponsor it on GitHub, or even better, open up PR's and contribute to the project.

0 commit comments

Comments
 (0)