Idea: abstract url generator or use absolute URLs
Jeroen-G opened this issue · comments
JeroenG commented
sitemap-plugin/src/Provider/ProductUrlProvider.php
Lines 143 to 146 in 3858e2c
Using the UrlGeneratorInterface::ABSOLUTE_URL
option will ensure the right protocol (http or https) is used.
An alternative might be to abstract the code to generate an URL to a generator class that users could overwrite/replace.
JeroenG commented
Seems to have been an issue on my end, closed!