So I generate the public folder with the following command -
hugo server --renderToDisk
But when I inspect the public folder, I find the sitemap.xml uses
localhost:1313 as base domain.
config.toml file, the base url is given as the domain itself -
baseURL = "https://exampledomain.com/"
What is wrong? Do I need to specify the baseurl somewhere else for the sitemap to generate it with the custom domain?
Thanks in advance.