Sitemap includes homepage with trailing slash even when trailingSlash set to never #37536
Closed
2 tasks done
Labels
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
Even when setting trailingSlash to never and siteUrl to the homepage URL without a trailing slash, the homepage URL in sitemap generated by gatsby-plugin-sitemap includes a trailing slash.
Reproduction Link
https://github.com/hitfactory/gatsby-starter-blog
Steps to Reproduce
gatsby-plugin-sitemap
to plugins array in gatsby-config.jsExpected Result
sitemap.xml includes siteUrl as configured i.e. without trailing slash
Actual Result
sitemap-0.xml includes homepage with trailing slash
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: