How to override multilingual multihost baseURLs with environment config?

The source code seems to work fine even with the baseURLs activated.

Please provide more information about the issue. Also, please refer requesting help.