are you sure that on different envs api_host will be available by this address ;)