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

Add PUBLIC_URL env variable to React SSR example

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Available for testing
    • None
    • 13.3.1, 13.4.0
    • None
    • None
    • 1
    • Tiger
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: