Skip to content

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

@Webcoda

Description

@Webcoda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions