Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom asset domain should replace the domain of links in RTE that link to assets #353

Open
Webcoda opened this issue Aug 17, 2022 · 1 comment

Comments

@Webcoda
Copy link

Webcoda commented Aug 17, 2022

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

  1. Need to have configured custom domain
  2. Go to any RTE fields
  3. Add link to assets
  4. See the returned example
    image

Expected behavior

The custom domain should be used instead of original assets domain

Test environment

  • Platform/OS: Windows 11
  • Browser: Chrome
  • Version 104.0.5112.81
@Simply007
Copy link
Contributor

Related to #334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants