added correct api host for production mode