chore: update sitemap URL in robots.txt for improved SEO compliance
This commit is contained in:
@@ -21,6 +21,6 @@ Sitemap: ${sitemapURL.href}
|
|||||||
`
|
`
|
||||||
|
|
||||||
export const GET: APIRoute = ({ site }) => {
|
export const GET: APIRoute = ({ site }) => {
|
||||||
const sitemapURL = new URL('sitemap-index.xml', site)
|
const sitemapURL = new URL('sitemap.xml', site)
|
||||||
return new Response(getRobotsTxt(sitemapURL))
|
return new Response(getRobotsTxt(sitemapURL))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user