Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use ingress.hostname for frontend.apiBaseUrl #22

Merged
merged 5 commits into from
Apr 15, 2024
Merged

Do not use ingress.hostname for frontend.apiBaseUrl #22

merged 5 commits into from
Apr 15, 2024

Conversation

pawelmrowka
Copy link
Contributor

When the value from Values.ingress.hostname, such as 'example.com', is used, the frontend attempts to send requests to 'example.com/example.com/api/...'.

pawelmrowka and others added 5 commits April 15, 2024 12:06
…nt use ingress hostname here

Signed-off-by: Pawel Mrowka <[email protected]>
🐛 apiBaseUrl without protocol (http/s) is added after domain, - w…
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@iman4000
Copy link

this tiny problem is very annoying. because of this issue, I had to do it locally :( fix it, please!

Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pawelmrowka!

@nscuro nscuro added the defect Something isn't working label Apr 15, 2024
@nscuro nscuro changed the title back to separate value for .Values.frontend.apiBaseUrl Do not use ingress.hostname for frontend.apiBaseUrl Apr 15, 2024
@nscuro nscuro merged commit 5aa1d40 into DependencyTrack:main Apr 15, 2024
4 checks passed
nscuro added a commit that referenced this pull request Jun 12, 2024
Includes changes from:

* #13
* #22
* #23
* #33
* #34
* #42
* #52
* #55
* #57
* #83
* #87

Co-authored-by: Pawel Mrowka <[email protected]>
Co-authored-by: Edvin Norling <[email protected]>
Co-authored-by: Jaz Ark <[email protected]>
Co-authored-by: Arnaud Hatzenbuhler <[email protected]>
Co-authored-by: Stefan Hynek <[email protected]>
Co-authored-by: Theodor van Nahl <[email protected]>
Co-authored-by: Sergiy Kulanov <[email protected]>
Signed-off-by: nscuro <[email protected]>
nscuro added a commit that referenced this pull request Jun 12, 2024
Includes changes from:

* #13
* #22
* #23
* #33
* #34
* #42
* #52
* #55
* #57
* #83
* #87

Co-authored-by: Pawel Mrowka <[email protected]>
Co-authored-by: Edvin Norling <[email protected]>
Co-authored-by: Jaz Ark <[email protected]>
Co-authored-by: Arnaud Hatzenbuhler <[email protected]>
Co-authored-by: Stefan Hynek <[email protected]>
Co-authored-by: Theodor van Nahl <[email protected]>
Co-authored-by: Sergiy Kulanov <[email protected]>
Signed-off-by: nscuro <[email protected]>
nscuro added a commit that referenced this pull request Jun 12, 2024
Includes changes from:

* #13
* #22
* #23
* #33
* #34
* #42
* #52
* #55
* #57
* #83
* #87

Co-authored-by: Pawel Mrowka <[email protected]>
Co-authored-by: Edvin Norling <[email protected]>
Co-authored-by: Jaz Ark <[email protected]>
Co-authored-by: Arnaud Hatzenbuhler <[email protected]>
Co-authored-by: Stefan Hynek <[email protected]>
Co-authored-by: Theodor van Nahl <[email protected]>
Co-authored-by: Sergiy Kulanov <[email protected]>
Signed-off-by: nscuro <[email protected]>
nscuro added a commit that referenced this pull request Jun 12, 2024
Includes changes from:

* #13
* #22
* #23
* #33
* #34
* #42
* #52
* #55
* #57
* #83
* #87

Signed-off-by: nscuro <[email protected]>
Co-authored-by: Pawel Mrowka <[email protected]>
Co-authored-by: Edvin Norling <[email protected]>
Co-authored-by: Jaz Ark <[email protected]>
Co-authored-by: Arnaud Hatzenbuhler <[email protected]>
Co-authored-by: Stefan Hynek <[email protected]>
Co-authored-by: Theodor van Nahl <[email protected]>
Co-authored-by: Sergiy Kulanov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants