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

Allow Webpack development resources to be served from ROOT

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Sprint:
      Tiger Sprint 148
    • Processed by team:
      Tiger

      Description

      The context-path of the CMS can be anything: /cms, /cool-cms or /. For this reason, the sources built with the frontend-build should be required with a relative path instead of an absolute-path. For example, currently the angular resources of the new channel manager are hardwired to /cms/angular/hippo-cm.

      The path can be made relative by changing the frontend-build configuration, but this breaks the current development proxy servlet. For example, the webpack-dev-server of the channel-manager serves requests at http://localhost:9090/cms/angular/hippo-cm/** but when we change the frontend-build to use a relative path, it will serve files from http://localhost:9090/**

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: