Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4689

Change PageModelApi to generate fully qualified links to binaries

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 5.6.9, 13.4.2, 14.0.1, 14.1.0
    • None
    • None

    Description

      Currently, the pagemodel api generates (for images) relative urls which is not preferred in headless implementations. The implementation of pagemodel api does not allow for any extensions to fix this issue, therefore clients(at least 3) resort to clever tricks such as using the hst:cdnhost property to generate fully qualified urls.

      Ideally, it would be great if we could add a property to hst-config.properties which would be picked up by the org.hippoecm.hst.pagemodelapi.v09.content.beans.jackson.LinkModel when it's converting the hstlink to a linkmodel.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bvural Baris Can Vural
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: