How can I disable the automatic redirect to the language prefixed url for an url defined in a routing.yml in my module?
I'm developing a custom sitemap.xml module, because the Simple Sitemap Xml module doe not have the options I need. I've got it just about working, except the url
/sitemap.xml 301 automatically redirects to the url
/lang/sitemap.xml - and it really shouldn't. How can I disable this redirect?