Open Webcoda opened 2 years ago
Passing assetsDomain parameter to the DeliveryClient constructor only replaces the asset domain for assets themselves. However, the links that link to the assets still have kontent-ai original asset domain e.g. https://assets-au-01.kc-usercontent.com or https://preview-assets-au-01.kc-usercontent.com.
assetsDomain
What went wrong?
The custom domain should be used instead of original assets domain
Related to #334
Brief bug description
Passing
assetsDomain
parameter to the DeliveryClient constructor only replaces the asset domain for assets themselves. However, the links that link to the assets still have kontent-ai original asset domain e.g. https://assets-au-01.kc-usercontent.com or https://preview-assets-au-01.kc-usercontent.com.What went wrong?
Repro steps
Expected behavior
The custom domain should be used instead of original assets domain
Test environment