Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12145

Add PUBLIC_URL env variable to React SSR example

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Available for testing
    • Affects Version/s: None
    • Fix Version/s: 13.4.0, 13.3.1
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      1
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 215, Tiger Sprint 216

      Description

      The PUBLIC_URL variable will be used to set the 'assetPrefix' option and is exposed to templates so developers can use it to reference static resources.

      This allows developers to have absolute URLs for assets and statics, which allows us to simplify the URL Rewriter rules and work around proxy issues.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abogaart Arthur Bogaart
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: