cc.external_host should be api.