(sitemap) Root site URL in generated sitemap does not respect AstroConfig.trailingSlash #10751
Closed
1 task done
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Using this Astro Config:
results in the following
sitemap-0.xml
being generated afterastro build
on a basic setup two pagesindex.astro
andabout.astro
:What's the expected result?
All urls in the generated sitemap conform to the
trailingSlash
config option:Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-6n4cpf?file=dist%2Fsitemap-0.xml
Participation
The text was updated successfully, but these errors were encountered: