Fix for issue with publishing Host (this seems to at least fix it locally) + removed trailing slash from azure hostname url