frontend icon indicating copy to clipboard operation
frontend copied to clipboard

API_BASE_URL docker not used for default.locale

Open jcbvm opened this issue 9 months ago • 0 comments

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

jcbvm avatar Apr 08 '25 20:04 jcbvm