This allows other components to get the endpoint URL without needing to know about the CONFIG global.