Is it possible to override baseURL definitions by using an environment config? I found that for our site, it is not working. In a recent patch (unmerged), I had to comment out the main baseURLs in order for our preview build to work.
If it isn’t possible, I could create an issue for it and we might put development effort into it. What do you think?
The default configuration is single-host. Multi-host is only enabled for the “development” and “production” environments.
If you were to enable multi-host in the default configuration by setting a baseURL under each language key, there’s no way to override that in another environment… you cannot remove a key once set.
Ok, then the solution is to provide baseURL definitions in separate environments. I updated my patch accordingly. A bit of config sprawl, but it works at least.