From 51b6355a3191c581bd7b34739858ddb90fe3c9c8 Mon Sep 17 00:00:00 2001 From: bravo-kernel Date: Fri, 18 Apr 2025 13:12:55 +0200 Subject: [PATCH] readme: fix sitemap typing in robots example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c51ee5f..6b9bdd6 100644 --- a/README.md +++ b/README.md @@ -84,14 +84,14 @@ const robotsTxt = generateRobotsTxt([ allow: ['/'], disallow: ['/admin', '/login'], crawlDelay: 1, - sitemap: 'https://example.com/sitemap.xml' + sitemap: ['https://example.com/sitemap.xml'] }, { userAgent: 'Googlebot', allow: ['/'], disallow: ['/admin', '/login'], crawlDelay: 1, - sitemap: 'https://example.com/sitemap.xml' + sitemap: ['https://example.com/sitemap.xml'] } ] ); @@ -446,4 +446,4 @@ Please make sure to update tests as appropriate. ## Support -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. \ No newline at end of file +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.