Closed AjaniBilby closed 9 months ago
Hi, this is intentional because it is too normal to have assets on another domain, if you want to use the config.siteUrl
you can get it from the first argument, for example:
export const sitemap: SitemapFunction = ({ config }) => {
config.siteUrl
return ...
}
Describe the bug The pre-processor before xml generation isn't properly adjusting the loc values supplied from the
sitemap
function to be relative to theconfig.siteUrl
valueTo Reproduce
Actual (incorrect) Output
Expected Output
Environment:
3.2.0