DependencyTrack / DependencyTrack/frontend

API_BASE_URL docker not used for default.locale

Open
#1,226 1 comment 1 reaction 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### 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

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.