Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-217

Reintroduce setting of base tag

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • 6.2
    • None
    • None
    • None
    • SPA Editor 12
    • 1

      We need to set the <base> element when rendering SPA applications.

      If e.g. Angular application that runs on http://localhost:8080/magnoliaAuthor/spa-page routes to '/home', the URL is rewritten to http://localhost:8080/home instead of http://localhost:8080/magnoliaAuthor/spa-page/home.

      Correctly set <base> element fixes this. See: https://angular.io/guide/router#base-href

        Acceptance criteria

              rsiska Robert Šiška
              rsiska Robert Šiška
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD