I have a website running on https on heroku, so https request via CNAME goes to herou and website is hosted there.
What am I experiencing now is that
isHTTPS(req) function on production is returning false for these kind of requests, probably because of current hosting architecture.
I wanted to raise a PR with an option for forced https links in sitemap to avoid such issues and such situations.
Option in sitemaps module like
forceHTTPS, which then creates all links with https reagrdless of request type and so on.