callumbwhyte / friendly-robots

A friendly tool for creating dynamic robots.txt files in Umbraco
MIT License
7 stars 1 forks source link

Routing does not work if hostname not set #4

Closed AaronSadlerUK closed 3 years ago

AaronSadlerUK commented 4 years ago

If the hostname is not set, the routing will not work and it will return the IIS 404 error rather than application 404 error.

The fact this also affects the friendly-sitemap plugin makes me think the issue lies in the routing extensions plugin

callumbwhyte commented 4 years ago

Thanks @AaronSadlerUK,

As commented on friendly-sitemap/#12 this is an issue in the Routing Extensions project that needs some investigation.

Cheers, Callum

callumbwhyte commented 3 years ago

Thanks to @dampee this was fixed in the Routing Extensions package. Updating that dependency to the latest version will fix this issue!