Open rustyy opened 4 months ago
@rustyy Thank you for bringing this to our attention. I agree we should be doing this. I added an item to our backlog to address this but I don't have a current estimate of when we will get to it
@david-shibley-contentful any update on this?
maybe worth mentioning - also the "host" option is not taken into account, which is required in case of different datacenters (us vs eu). Without this, it is not possible to export the according entities as requests against the CDA will fail for EU datacenter.
Issue
With the option
deliveryToken
only published entries are supposed to be exported.This fails if the request is executed behind a proxy. The following code will fail:
In the index.js the CDA-client is created via initClient(...).
The initClient function is not aware of all options given and remove possible proxy options passed in by the consumer.
In result the contentful-export fails if used behind a proxy.
Expected behavior
Given proxy-settings should be taken into account if passed in by the consumer together with the deliveryToken.