Skip to content

Setting root context-path breaks UI #463

@jpcorreia-promptly

Description

@jpcorreia-promptly

When running Matchbox in Docker, if I configure the context path to be the root path (/), the UI fails to generate valid requests to the backend.

Steps to reproduce:

  1. Start Matchbox with Docker with context-path set to root: docker run --rm --name matchbox -p 8080:8080 -e server.servlet.context-path=/ europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v4.0.17 matchbox
  2. Open http://localhost:8080/CapabilityStatement
  3. Request to backend fails
Image

NOTE: When setting another context path (e.g. docker run --rm --name matchbox -p 8080:8080 -e server.servlet.context-path=/test europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v4.0.17 matchbox), everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions