Skip to content

API_BASE_URL docker not used for default.locale #1226

Open
@jcbvm

Description

@jcbvm

Current Behavior

When setting an API_BASE_URL via docker, one request is not altered with the correct base URL:
https://domain.tld/api/v1/configProperty/public/general/default.locale

Steps to Reproduce

  1. Set an API_BASE_URL environment variable in docker-compose for the frontend: i.e: /dtrack-api
  2. Start the container
  3. Every request to the API should have /dtrack-api prefixed
  4. When looking in the network tab the mentioned URL has not been prefixed

Expected Behavior

All API requests should have been prefixed.

Dependency-Track Frontend Version

4.7.x

Browser

Microsoft Edge

Browser Version

135.0.3179.54

Operating System

Windows

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions