Skip to content
New issue

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

override-host option #18

Closed
dschmidtadv opened this issue Jan 23, 2024 · 1 comment
Closed

override-host option #18

dschmidtadv opened this issue Jan 23, 2024 · 1 comment

Comments

@dschmidtadv
Copy link

How can I use this option? It seems to be ignored.

Pixep added a commit that referenced this issue Nov 11, 2024
When '--override-host <host>' is provided, the host in links of the
sitemap will be replaced by the one passed. This only affects links
at the first level of the sitemap.

Fixes #18
@Pixep
Copy link
Owner

Pixep commented Nov 11, 2024

Hi @dschmidtadv , thank you for reporting, and sorry for the delay (notification issue).
This will be added/restored in the next feature drop, and was not properly working as you mentioned.

This will allow overriding the host listed in all the links of the pointed (this one) sitemap, for example to swap dev and production domains. Does that reflect what you needed at the time?

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

No branches or pull requests

2 participants