Skip to content

Commit

Permalink
fix sitemap path in robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 20, 2024
1 parent 38a603f commit e437e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/robots.txt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const getRobotsTxt = (sitemapURL: URL) => `
User-agent: *
Allow: /
Sitemap: ${sitemapURL.href}
Sitemap: ${sitemapURL.href + sitemapURL.pathname}
`;

export const GET: APIRoute = ({ site }) => {
Expand Down

0 comments on commit e437e3f

Please sign in to comment.