We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astro v4.1.2 Node v18.18.0 System Linux (x64) Package Manager npm Output server Adapter @astrojs/node Integrations @astrojs/sitemap
No response
import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; import node from '@astrojs/node'; // https://astro.build/config export default defineConfig({ site: 'https://astro.build', base: '/hello', output: 'server', adapter: node({ mode: 'standalone', }), integrations: [sitemap()], });
sitemap generate wrong link: https://astro.build/helloworld/
https://astro.build/helloworld/
https://astro.build/hello/world/
https://stackblitz.com/edit/github-85nlia
The text was updated successfully, but these errors were encountered:
astro/packages/integrations/sitemap/src/index.ts
Lines 111 to 114 in d38b2a4
why because finalSiteUrl always has trailing slash ?
because finalSiteUrl always has trailing slash
Sorry, something went wrong.
Apparently it happens only with ssr adapters.
base
Successfully merging a pull request may close this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
sitemap generate wrong link:
https://astro.build/helloworld/
What's the expected result?
https://astro.build/hello/world/
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-85nlia
Participation
The text was updated successfully, but these errors were encountered: