(Final?) Fix for different URLs in Hosted Mode vs in-container