Skip to content

Fix sitemap URLs when serving locally#40

Merged
brass75 merged 3 commits intorender-engine:mainfrom
Paritoshcodes:fix-sitemap-local-url
Mar 13, 2026
Merged

Fix sitemap URLs when serving locally#40
brass75 merged 3 commits intorender-engine:mainfrom
Paritoshcodes:fix-sitemap-local-url

Conversation

@Paritoshcodes
Copy link
Contributor

Fixes #2596

When running serve, the sitemap was generated using the configured site URL instead of the local server URL.

This change overrides SITE_URL with the local server address when running serve, ensuring that generated sitemap URLs correctly point to http://localhost:<port> during local development.

Paritoshcodes and others added 2 commits March 13, 2026 20:35
Removed override logic for site url

Co-authored-by: Dan Shernicoff <dan@brassnet.biz>
Removed site update logic

Co-authored-by: Dan Shernicoff <dan@brassnet.biz>
Copy link
Contributor Author

@Paritoshcodes Paritoshcodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the necessary changes in both the files.

@brass75 brass75 merged commit 05f35ef into render-engine:main Mar 13, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants